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;%(1j,%j,)%#${SSH_CLIENT+$USER@$HOST}:%~\a"
10 if ((SECONDS - _exectime >= 5)) {
11 # bell if exec takes 5s
17 print -Pnf "\033]0;%s\a" "%#$1"
23 setopt autocd extendedglob
35 bindkey "^[[7~" beginning-of-line #Home
36 bindkey -a "^[[7~" beginning-of-line
37 bindkey "^[[8~" end-of-line #End
38 bindkey -a "^[[8~" end-of-line
39 bindkey "^[[3~" delete-char #Del
40 bindkey -a "^[[3~" delete-char
42 bindkey "^[[H" beginning-of-line #Home
43 bindkey -a "^[[H" beginning-of-line
44 bindkey "^[[F" end-of-line #End
45 bindkey -a "^[[F" end-of-line
47 autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
48 zle -N up-line-or-beginning-search
49 zle -N down-line-or-beginning-search
50 [[ -n "$key[Up]" ]] && bindkey -- "$key[Up]" up-line-or-beginning-search
51 [[ -n "$key[Down]" ]] && bindkey -- "$key[Down]" down-line-or-beginning-search
55 PROMPT='%F{$VICOL}%n%f@%F{$VICOL}%m%f%(?../%F{red}$?%f)%# '
56 RPROMPT='${vcs_info_msg_0_}%F{yellow}%~%f %T'
59 function zle-line-init zle-keymap-select {
60 VICOL="${${KEYMAP:/vicmd/red}:/(main|viins)/green}"
64 zle -N zle-keymap-select
70 alias lf="ls -Fdf .* [A-Z]* [^A-Z]*"
72 alias LL="ls -Flhodf .* [A-Z]* [^A-Z]*"
73 alias pa="sudo ps -Sudax"
74 function s { sysctl hw.snd.default_unit${1:+=$1} }
82 alias activate="source bin/activate"
89 echo "Usage: \`portpkg <build|run>' in a port directory"
92 sudo pkg install -AU $(make ${1}-depends-list |
93 sed 's_/usr/ports/_ _' | tr -d '\n')
96 # The following lines were added by compinstall
97 zstyle ':completion:*' auto-description 'specify: %d'
98 zstyle ':completion:*' expand suffix
99 zstyle ':completion:*' format '# %d'
100 zstyle ':completion:*' group-name ''
101 zstyle ':completion:*' ignore-parents parent
102 zstyle ':completion:*' insert-unambiguous false
103 zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
104 zstyle ':completion:*' list-prompt '%B%i%b'
105 zstyle ':completion:*' list-suffixes true
106 zstyle ':completion:*' matcher-list '' 'm:{[:lower:]}={[:upper:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} r:|[._-]=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*'
107 zstyle ':completion:*' menu select=1
108 zstyle ':completion:*' original false
109 zstyle ':completion:*' select-prompt '%B%l%b'
110 zstyle ':completion:*' verbose true
111 zstyle :compinstall filename '/home/ds6/.zshrc'
113 autoload -Uz compinit
115 # End of lines added by compinstall
117 # vim: ts=8:sts=4:sw=4:et:tw=79