Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Shell Pics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Huguet
Shell Pics
Commits
a7106b17
Commit
a7106b17
authored
4 years ago
by
Antoine Huguet
Browse files
Options
Downloads
Patches
Plain Diff
added files
parent
d9e17405
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.install.sh
+7
-0
7 additions, 0 deletions
.install.sh
.zshrc
+125
-0
125 additions, 0 deletions
.zshrc
with
132 additions
and
0 deletions
.install.sh
0 → 100644
+
7
−
0
View file @
a7106b17
sh
-c
"
$(
curl
-fsSL
https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh
)
"
cp
./.zshrc ~/.zshrc
git clone
--depth
=
1 https://github.com/romkatv/powerlevel10k.git
${
ZSH_CUSTOM
:-
$HOME
/.oh-my-zsh/custom
}
/themes/powerlevel10k
git clone https://github.com/zsh-users/zsh-autosuggestions
${
ZSH_CUSTOM
:-
~/.oh-my-zsh/custom
}
/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting
${
ZSH_CUSTOM
:-
~/.oh-my-zsh/custom
}
/plugins/zsh-syntax-highlighting
git clone
--depth
1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
This diff is collapsed.
Click to expand it.
.zshrc
0 → 100644
+
125
−
0
View file @
a7106b17
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export
ZSH
=
"
${
HOME
}
/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME
=
"powerlevel10k/powerlevel10k"
POWERLEVEL9K_DISABLE_RPROMPT
=
true
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
=(
background_jobs
time
context dir_writable
dir
vsc
)
POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_FOREGROUND
=
'088'
POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_BACKGROUND
=
'015'
POWERLEVEL9K_TIME_FOREGROUND
=
'white'
POWERLEVEL9K_TIME_BACKGROUND
=
'017'
POWERLEVEL9K_CONTEXT_FOREGROUND
=
'white'
POWERLEVEL9K_CONTEXT_BACKGROUND
=
'030'
POWERLEVEL9K_DIR_FOREGROUND
=
'black'
POWERLEVEL9K_DIR_BACKGROUND
=
'blue'
POWERLEVEL9K_CONTEXT_TEMPLATE
=
"
`
hostname
`
"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins
=(
zsh-autosuggestions zsh-syntax-highlighting
)
source
$ZSH
/oh-my-zsh.sh
alias
l
=
'ls -lFh'
alias
ll
=
'ls -lAFh'
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
[
-f
~/.fzf.zsh
]
&&
source
~/.fzf.zsh
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment