zshrc (1007B)
1 export PLAN9="$dotfiles/packages/plan9" 2 3 export PATH="$dotfiles/bin:$PATH" 4 export PATH="$PLAN9/bin:$PATH" 5 export PATH="$HOME/.local/bin:$PATH" 6 7 export HISTFILE=$HOME/.zsh_history 8 setopt HIST_IGNORE_ALL_DUPS 9 setopt INC_APPEND_HISTORY 10 export HISTSIZE=10000 11 export SAVEHIST=10000 12 13 autoload -Uz compinit 14 compinit 15 zstyle ':completion:*' menu select 16 zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 17 18 autoload -Uz up-line-or-beginning-search 19 autoload -Uz down-line-or-beginning-search 20 zle -N up-line-or-beginning-search 21 zle -N down-line-or-beginning-search 22 bindkey '^[[A' up-line-or-beginning-search 23 bindkey '^[[B' down-line-or-beginning-search 24 25 autoload -Uz promptinit 26 promptinit 27 28 # PROMPT='%n@%m:%F{15}%~%f %# ' 29 # PROMPT=': %~ ; ' 30 # PROMPT='%~ %# ' 31 # PROMPT='$ ' 32 PROMPT='%% ' 33 # PROMPT='term%% ' 34 35 alias grep='grep --color=auto' 36 alias ls='ls --hide=lost+found -1p --group-directories-first --color=always' 37 38 copy() { 39 cat "$1" | xclip -selection clipboard 40 } 41 42 mcdir() { 43 mkdir -p "$1" && cd "$1" 44 } 45