123456789101112131415161718192021 |
- #locale
- export LC_ALL="en_US.UTF-8"
-
- # neat aliases
- alias ls="ls --color=always"
- alias ll="ls -l"
- alias la="ls -a"
- source .zshalias
-
- # completion
- zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}"
- zstyle ':completion:*' menu select
- autoload -U compinit
- compinit
-
- # prompt
- autoload -U colors && colors
- PROMPT_HOST="%{${fg_bold[yellow]}%}%m "
- PROMPT_CWD="%{${fg_bold[cyan]}%}%~ "
- PROMPT_ARROW="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
- PS1="$PROMPT_HOST$PROMPT_CWD$PROMPT_ARROW%{$reset_color%}"
|