zsh: reorganize
This commit is contained in:
parent
9e9e8afd5a
commit
1b61337582
4 changed files with 59 additions and 21 deletions
22
zsh/zshrc
Normal file
22
zsh/zshrc
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Lines configured by zsh-newuser-install
|
||||
HISTFILE=~/.histfile
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
setopt appendhistory
|
||||
bindkey -e
|
||||
# End of lines configured by zsh-newuser-install
|
||||
# The following lines were added by compinstall
|
||||
zstyle :compinstall filename '/home/gshipunov/.zshrc'
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
|
||||
# Prompt
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
HOST_LBL="%F{red}[%m]%f"
|
||||
fi
|
||||
|
||||
PROMPT="%B%(?..%F{red}[%?]%f)$HOST_LBL%(!.%F{red}[%n]%f.)%F{cyan}%~%(!.%F{red}.%F{green})%# %f%b"
|
||||
|
||||
source ./common
|
Loading…
Add table
Add a link
Reference in a new issue