Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/zsh
- # completion
- autoload -U compinit
- compinit
- # correction
- setopt correctall
- # correction
- setopt correctall
- # prompt
- autoload -U promptinit
- promptinit
- # History settings
- export HISTSIZE=2000
- export HISTFILE="$HOME/.history"
- export SAVEHIST=$HISTSIZE
- setopt hist_ignore_all_dups
- setopt hist_ignore_space
- setopt autocd
- setopt extendedglob
- setopt rm_star_wait
- setopt complete_in_word
- # zsh modules
- # mathmatic evaluations
- zmodload zsh/mathfunc
- setopt PROMPT_SUBST
- export fadebar="red"
- export userhost="white"
- export cwd="white"
- autoload -Uz prompt_special_chars
- prompt_special_chars
- PROMPT='%B%F{$fadebar}$schars[333]$schars[262]$schars[261]$schars[260]%B%F{$userhost}%K{$fadebar}%n@%m%b%k%f%F{$fadebar}%K{black}$schars[260]$schars[261]$schars[262]$schars[333]%b%f%k%F{$fadebar}%K{black}$schars[333]$schars[262]$schars[261]$schars[260] %{$(pwd|grep --color=always /)%${#PWD}G%} %# '
Add Comment
Please, Sign In to add comment