shell.zsh 397 B

123456789
  1. # shell tweaking
  2. if [ -n "$LS_COLORS" ]; then
  3. zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
  4. zstyle ':completion:*:processes' command 'ps -aU$USER -o pid,user,time,cmd --sort user|grep -v "ps -aU$USER -o pid,user,time,cmd --sort user"'
  5. zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([^ ]#) ([^ ]#)[ 0-9:]#([^ :]#)*=01;30=01;31=01;38=01;38'
  6. fi