# 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="/Users/cobraz/.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/robbyrussell/oh-my-zsh/wiki/Themes ZSH_THEME="avit" plugins=( git osx sudo docker ) source $ZSH/oh-my-zsh.sh # 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" ### VISUAL CUSTOMISATION ### # Elements options of left prompt (remove the @username context) POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir rbenv vcs) # Elements options of right prompt POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history time) # Add a second prompt line for the command POWERLEVEL9K_PROMPT_ON_NEWLINE=true # Add a space in the first prompt POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%f" # Visual customisation of the second prompt line local user_symbol="$" if [[ $(print -P "%#") =~ "#" ]]; then user_symbol = "#" fi POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%{%B%F{black}%K{yellow}%} $user_symbol%{%b%f%k%F{yellow}%} %{%f%}" # Change the git status to red when something isn't committed and pushed POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='red' # Add a new line after the global prompt POWERLEVEL9K_PROMPT_ADD_NEWLINE=true # Colorise the top Tabs of Iterm2 with the same color as background # Just change the 18/26/33 wich are the rgb values # echo -e "\033]6;1;bg;red;brightness;18\a" # echo -e "\033]6;1;bg;green;brightness;26\a" # echo -e "\033]6;1;bg;blue;brightness;33\a" autoload -U add-zsh-hook # Load .bashrc, if [[ -r "${HOME}/.bashrc" ]]; then # shellcheck source=/dev/null source "${HOME}/.bashrc" fi export VOLTA_HOME="$HOME/.volta" export PATH="$VOLTA_HOME/bin:$PATH"