commit 8065d1ef3cbf5a318730e91e66edd18f4fd0d363 parent 58f939037d5fdebe8e81963fd64ce2c9f8ed2d4b Author: finwo <finwo@pm.me> Date: Mon, 3 Aug 2020 13:50:45 +0200 Added time to zsh prompt; added python to bin path Diffstat:
| M | zsh/home/.zshrc | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/zsh/home/.zshrc b/zsh/home/.zshrc @@ -104,7 +104,7 @@ export npm_config_jobs=$(( $(nproc) + 1 )) autoload -U colors && colors autoload -U promptinit && promptinit -prompt="%(?..[%{$fg[red]%}%?%{$reset_color%}] )%{$fg[yellow]%}%n%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%}%# " +prompt="[%{$fg[gray]%}%D{%H:%M}%{$reset_color%}] %(?..[%{$fg[red]%}%?%{$reset_color%}] )%{$fg[yellow]%}%n%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%}%# " PROMPT_COMMAND= # }}} @@ -134,6 +134,11 @@ if [ -d "${HOME}/go/bin" ]; then export PATH="${HOME}/go/bin:${PATH}" fi # }}} +# Python binaries {{{ +if [ -d "${HOME}/.local/bin" ]; then + export PATH="${HOME}/.local/bin:${PATH}" +fi +# }}} # Symfony {{{ if [ -d "${HOME}/.symfony/bin" ]; then export PATH="${HOME}/.symfony/bin:${PATH}"