dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

.zshrc (1173B)


      1 # Modules
      2 autoload -U promptinit colors compinit
      3 promptinit
      4 colors
      5 compinit
      6 
      7 # History related settings
      8 HISTFILE=~/.histfile
      9 HISTSIZE=100000
     10 SAVEHIST=100000
     11 
     12 # Make `cd` behave like `pushd`
     13 setopt autopushd
     14 
     15 # Use vim keybinds
     16 bindkey -v
     17 bindkey "^R" history-incremental-search-backward
     18 
     19 # Prompt style
     20 prompt off
     21 #source ~/Code/Shell/zsh-git-prompt/zshrc.sh # Enable git prompt
     22 #GIT_PROMPT_EXECUTABLE="haskell" # Use haskell for git prompt
     23 #PROMPT="%{%(#~$fg[magenta]~$fg[green])%}%m %~%b$(git_super_status) %# "
     24 PROMPT="%{%(#~$fg[magenta]~$fg[green])%}%m %~%b %# "
     25 
     26 # Source aliases
     27 [ -f ~/.aliases ] && source ~/.aliases
     28 [ -f ~/.config/ls_col ] && source ~/.config/ls_col
     29 [ -f ~/.config/bsd_colors ] && source ~/.config/bsd_colors
     30 
     31 # Vars
     32 export GPG_TTY=$(tty)
     33 
     34 # Completions
     35 zstyle ':completion:*:kill:*' command 'ps -e -o pid,%cpu,cmd'
     36 
     37 # Virtualenv wrapper
     38 #export WORKON_HOME=~/venvs
     39 #source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
     40 
     41 # Custom variables for my ~/bin/ scripts
     42 export SCREENSHOT_DIRECTORY=~/Screenshots
     43 export REMOTE_SCREENSHOT_DIRECTORY="docker:/data/volumes/f.erethon.com/screen"
     44 export REMOTE_SCREENSHOT_URL="https://f.erethon.com/screen/"