diff --git a/home/.config/shell/prompt b/home/.config/shell/prompt index 2781bfe..b41a618 100755 --- a/home/.config/shell/prompt +++ b/home/.config/shell/prompt @@ -66,7 +66,7 @@ foreign_prompt() { fi } -# Prints appropriate working directory +#nd Prints appropriate working directory working_directory() { # By default up to 5 directories will be tolerated before shortening # After we surpass that, first directory (or ~) will be printed together with last 3 @@ -148,7 +148,7 @@ add-zsh-hook precmd exec_time_precmd_hook # Primary Prompt [ "$EUID" -eq 0 ] && PS1="$RED%n$RESET" || PS1="$GREEN%n$RESET" # user PS1+="$(foreign_prompt)" -PS1+="\$(working_directory)" +PS1+="$(working_directory)" PS1+="\$(git_prompt)" PS1+="\$(display_cmd_time)" PS1+=" $PURPLE%(!.#.$)$RESET " # Final symbol (# or $)