3 zstyle ':vcs_info:*' enable git
4 zstyle ':vcs_info:*' get-revision true
5 zstyle ':vcs_info:git*' formats "(%F{green}%r/%b%f) %m%u%c "
8 print -Pn "\e]0;${SSH_CLIENT+$USER@$HOST}%#zsh%(1j,:%j,):%~\a"
10 if ((SECONDS - _exectime >= 5)) {
11 # bell after long exec
16 printf "\033]0;%s\a" "$1"
22 PROMPT='%F{$VICOL}%n%f@%F{$VICOL}%m%f%(?../%F{red}$?%f)%# '
23 RPROMPT='${vcs_info_msg_0_}%F{yellow}%~%f %T'
25 function zle-line-init zle-keymap-select {
26 VICOL="${${KEYMAP:/vicmd/red}:/(main|viins)/green}"
30 zle -N zle-keymap-select
38 alias pa="sudo ps -Sudax"
39 function s { sysctl hw.snd.default_unit=$1 }
47 alias activate="source bin/activate"
54 echo "Usage: \`portpkg <build|run>' in a port directory"
57 sudo pkg install -AU $(make ${1}-depends-list | sed 's_/usr/ports/_ _' | tr -d '\n')
61 bindkey "^[[7~" beginning-of-line #Home
62 bindkey "^[[8~" end-of-line #End
63 bindkey "^[[3~" delete-char #Del
65 bindkey "^[[H" beginning-of-line #Home
66 bindkey "^[[F" end-of-line #End
68 autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
69 zle -N up-line-or-beginning-search
70 zle -N down-line-or-beginning-search
71 [[ -n "$key[Up]" ]] && bindkey -- "$key[Up]" up-line-or-beginning-search
72 [[ -n "$key[Down]" ]] && bindkey -- "$key[Down]" down-line-or-beginning-search
74 # The following lines were added by compinstall
75 zstyle ':completion:*' auto-description 'specify: %d'
76 zstyle ':completion:*' expand suffix
77 zstyle ':completion:*' format '# %d'
78 zstyle ':completion:*' group-name ''
79 zstyle ':completion:*' ignore-parents parent
80 zstyle ':completion:*' insert-unambiguous false
81 zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
82 zstyle ':completion:*' list-prompt '%B%i%b'
83 zstyle ':completion:*' list-suffixes true
84 zstyle ':completion:*' matcher-list '' 'm:{[:lower:]}={[:upper:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} r:|[._-]=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*'
85 zstyle ':completion:*' menu select=1
86 zstyle ':completion:*' original false
87 zstyle ':completion:*' select-prompt '%B%l%b'
88 zstyle ':completion:*' verbose true
89 zstyle :compinstall filename '/home/ds6/.zshrc'
93 # End of lines added by compinstall
95 # Lines configured by zsh-newuser-install
99 setopt appendhistory autocd extendedglob
102 # End of lines configured by zsh-newuser-install
104 # vim: ts=8:sts=4:sw=4:et:tw=79