dotfiles

dotfiles for my system
git clone git://git.evenfri.xyz/dotfiles.git
Log | Files | Refs

zshrc (1068B)


      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 alias grep='grep --color=auto'
     26 alias ls='ls --hide=lost+found -1p --group-directories-first --color=always'
     27 
     28 autoload -Uz promptinit
     29 promptinit
     30 
     31 # PROMPT='%n@%m:%F{15}%~%f %# '
     32 # PROMPT=': %~ ; '
     33 # PROMPT='%~ %# '
     34 PROMPT='$ '
     35 
     36 copy() {
     37   cat "$1" | xclip -selection clipboard
     38 } 
     39 
     40 mcdir() {
     41   mkdir -p "$1" && cd "$1"
     42 } 
     43 
     44 #acme() {
     45 #  acme -f /home/oem/git/plan9port/font/fixed/unicode.9x18.font
     46 #}
     47 
     48 compdef don=sudo