Ver código fonte

[zsh] Add hostname when remote

Colin Powell 1 ano atrás
pai
commit
3fb1ec63ae
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      zsh/.zshrc

+ 4 - 0
zsh/.zshrc

@@ -98,3 +98,7 @@ for f in ~/.dotfiles.sure/direnv/*.sh; do source $f; done
 
 eval "$(atuin init zsh)"
 export AWS_PROFILE=sure-inc
+
+local hostname="%{$fg_bold[white]%}%m"
+
+PROMPT="${hostname} ${PROMPT}"