small fixes
This commit is contained in:
parent
8bd1c8066f
commit
31b6233360
3 changed files with 16 additions and 2 deletions
|
@ -6,6 +6,11 @@ export PATH=$HOME/.local/bin:$PATH
|
|||
export EDITOR="vi"
|
||||
export VISUAL="nvim"
|
||||
|
||||
alias vvi=vi
|
||||
alias vvim=vim
|
||||
alias vi=nvim
|
||||
alias vim=nvim
|
||||
|
||||
# platform-specific config
|
||||
unamestr=$(uname 2> /dev/null)
|
||||
case "$unamestr" in
|
||||
|
|
|
@ -75,4 +75,8 @@ if type "direnv" > /dev/null; then
|
|||
eval "$(direnv hook zsh)"
|
||||
fi
|
||||
|
||||
export PS1="%n@%m:%F{green}%~%F{reset}%# "
|
||||
if [[ -v SSH_CLIENT ]] || [[ -v SSH_TTY ]]; then;
|
||||
export PS1="%B>>> %F{cyan}%n%F{magenta}@%m%F{reset}:%F{green}%~%F{reset}%#%b "
|
||||
else
|
||||
export PS1="%B>>> %F{cyan}%n@%m%F{reset}:%F{green}%~%F{reset}%#%b "
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue