diff options
author | Daniel Holman <coderdan657@gmail.com> | 2016-12-05 20:08:13 -0600 |
---|---|---|
committer | Daniel Holman <coderdan657@gmail.com> | 2016-12-05 20:11:50 -0600 |
commit | c70c5c7a97c69133309d48254b1bcda9983b1846 (patch) | |
tree | 636f75727b78c1667b37a721a5c7fe5634d5ac79 /.zshrc |
Initial commit
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 45 |
1 files changed, 45 insertions, 0 deletions
@@ -0,0 +1,45 @@ +# Lines configured by zsh-newuser-install +HISTFILE=~/.histfile +HISTSIZE=1000 +SAVEHIST=1000 +setopt appendhistory extendedglob notify +unsetopt autocd beep nomatch +bindkey -v +# End of lines configured by zsh-newuser-install +# The following lines were added by compinstall +zstyle :compinstall filename '/home/dsh/.zshrc' + +autoload -Uz compinit +compinit +# End of lines added by compinstall + +PROMPT="$ " + +source /usr/share/doc/pkgfile/command-not-found.zsh +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh + +bindkey -M vicmd 'k' history-substring-search-up +bindkey -M vicmd 'j' history-substring-search-down + +alias ls="ls --color=auto" +alias pacin="pacaur -S" +alias pacr="pacaur -Rs" +alias pacup="pacaur -Syu" +alias pacsearch="pacaur -Ss" + +export PATH="$PATH:/home/dsh/bin" +export EDITOR="vim" +export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 + +man() { + env \ + LESS_TERMCAP_mb=$'\e[01;31m' \ + LESS_TERMCAP_md=$'\e[01;31m' \ + LESS_TERMCAP_me=$'\e[0m' \ + LESS_TERMCAP_se=$'\e[0m' \ + LESS_TERMCAP_so=$'\e[01;44;33m' \ + LESS_TERMCAP_ue=$'\e[0m' \ + LESS_TERMCAP_us=$'\e[01;32m' \ + man "$@" +} |