diff options
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -199,9 +199,12 @@ gotcmd() { command -v "$1" > /dev/null } -if gotcmd zoxide && gotcmd starship; then - export PROMPT_COMMAND=prompt_set_window_title +if gotcmd zoxide; then eval "$(zoxide init bash)" +fi + +if gotcmd starship; then + export PROMPT_COMMAND=prompt_set_window_title eval "$(starship init bash)" else export PROMPT_COMMAND=prompt_command |