Whatever You Believe Nobody Cares. Whatever It Is You Think You Know. Don't Give A God Damn. Reality Is Bullshit. Reflection Is A Concept Based On Your Own Fucked Up Ideal
Попробую, я zsh. Хочется что-нибудь новенькое из старенького.
bindkey '\e[3~' delete-char # del
bindkey ';5D' backward-word # ctrl+left
bindkey ';5C' forward-word #ctrl+right
autoload -U compinit promptinit
compinit
promptinit;
if [[ $EUID == 0 ]]
then
PROMPT=$'%{\e[1;31m%}%n %{\e[1;34m%}%~ #%{\e[0m%} ' # user dir %
else
PROMPT=$'%{\e[1;32m%}%n %{\e[1;34m%}%~ %#%{\e[0m%} ' # root dir #
fi
RPROMPT=$'%{\e[1;34m%}%T%{\e[0m%}' # right prompt with time
alias ls='ls --color=auto'
alias grep='grep --colour=auto'
setopt autocd
hash -d www=/home/www/docs/zinc.lo/
setopt CORRECT_ALL
autoload -U zcalc
zcalc
SPROMPT="Ошибка! Вы хотели ввести %r вместо %R? ([Y]es/[N]o/[E]dit/[A]bort) "
SAVEHIST=100
HISTFILE=~/.zsh_history