home/.zshrc

55 lines
1.6 KiB
Bash
Raw Normal View History

if [[ -f "/etc/profile" ]]; then
source /etc/profile 2>& /dev/null
fi
export ZSH=/home/salt/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
#ZSH_THEME="powerlevel9k/powerlevel9k"
ZSH_THEME="theunraveler"
#CASE_SENSITIVE="true"
#HYPHEN_INSENSITIVE="true"
#DISABLE_AUTO_UPDATE="true"
#export UPDATE_ZSH_DAYS=13
#DISABLE_AUTO_TITLE="true"
#ENABLE_CORRECTION="true"
#COMPLETION_WAITING_DOTS="true"
#DISABLE_UNTRACKED_FILES_DIRTY="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
POWERLEVEL9K_DIR_HOME_FOREGROUND='0'
POWERLEVEL9K_DIR_HOME_BACKGROUND='13'
POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND='0'
POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND='5'
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND='0'
POWERLEVEL9K_DIR_DEFAULT_BACKGROUND='5'
POWERLEVEL9K_DIR_WRITABLE_FOREGROUND='13'
POWERLEVEL9K_DIR_WRITABLE_BACKGROUND='0'
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh dir dir_writable root_indicator)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status vcs vi_mode)
2017-08-13 03:13:03 -05:00
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
2017-08-20 18:02:13 -05:00
2017-08-14 15:32:09 -05:00
setopt appendhistory autocd correctall extendedglob nomatch
2017-08-13 03:13:03 -05:00
unsetopt beep notify
bindkey -v
zstyle :compinstall filename '/home/salt/.zshrc'
autoload -Uz compinit
compinit
source $ZSH/oh-my-zsh.sh
if [[ -f "$HOME/.profile" ]]; then
source "$HOME/.profile" 2>& /dev/null
fi