# Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=1000 setopt appendhistory extendedglob notify bindkey -e # End of lines configured by zsh-newuser-install # The following lines were added by compinstall zstyle :compinstall filename '/udd/t/t0m5k1/.zshrc' autoload -Uz compinit compinit # End of lines added by compinstall #PROMPT="%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m %{$fg_no_bold[yellow]%}%1~ %{$reset_color%}%#" # prompt #autoload -U promptinit #promptinit #prompt clint # local text_col=${1:-'cyan'} local text_col1=${1:-'red'} local text_col2=${1:-'green'} local parens_col=${2:-$text_col} local -A schars autoload -Uz prompt_special_chars prompt_special_chars local text="%b%F{$text_col}" local text1="%b%F{$text_col1}" local parens="%B%F{$text_col2}" local punct="%B%F{white}" local reset="%b%f" local lpar="$parens($text" local rpar="$parens)$text" PS1="$punct┌─$text$lpar$text1%n$punct@$text%m$rpar$punct-$lpar%!$punct/$text%y$rpar$punct-$lpar%T$punct:$text%D{%d/%m/%y}$rpar$punct$reset $punct├─>$text$lpar$text1%#$punct:$text%~$rpar $punct└─>>$reset " #RPS1="$punt─$text%? - %L - %N" PS2="$parens└─$text>-$punct->$reset " # rprompt="[%{$fg_no_bold[yellow]%}%?%{$reset_color%}]" # prompt_opts=(cr subst percent)