QuietEngineer's dotfiles: just add water
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(zsh): add prompt config (#5)

* fix(zsh): use zsh extsn and host env var

* feat(zsh): add prompt config

authored by quietengineer.fyi and committed by

GitHub 41099209 05ded13a

+11 -1
+10
zsh/.zsh/45-prompts.zsh
··· 1 + autoload -Uz vcs_info 2 + precmd() { 3 + vcs_info 4 + } 5 + 6 + zstyle ':vcs_info:*' enable git 7 + zstyle ':vcs_info:git:*' formats '%b ' 8 + 9 + setopt PROMPT_SUBST 10 + PROMPT='%F{blue}%n%f@%F{blue}%m%f %B%2~%b %F{blue}${vcs_info_msg_0_}%f%# '
zsh/.zsh/50-aliases.sh zsh/.zsh/50-aliases.zsh
+1 -1
zsh/.zshrc
··· 8 8 unset F 9 9 10 10 # Load custom stuff from a host-specific zshrc (if marked executable) 11 - [[ -x ~/.$HOSTNAME.zshrc ]] && source ~/.$HOSTNAME.zshrc 11 + [[ -x $HOME/.${HOST}.zshrc ]] && source $HOME/.${HOST}.zshrc