dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 588f15b87ea01b33767b107230a84bc1d51b0154
parent 2101472714fa9fd1e027390576444f303f12e7bf
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Wed, 11 Jul 2018 12:45:25 +0200

Only show current dir in prompt

Diffstat:
Mzsh/zshrc | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/zsh/zshrc b/zsh/zshrc @@ -72,9 +72,8 @@ colors ####### Prompt ####### ###################### -# set prompt, with the extra functionality to strip leading dirs in the path -NUMOFTAILDIRS=2 # Setting it to e.g. 2 will result in only maximally two trailing dirs showing in path -PROMPT='%B[%b%n@%m %($((NUMOFTAILDIRS+1))~|<$(get_stripped_dir_count $NUMOFTAILDIRS)>/%$NUMOFTAILDIRS~|%~)%B]%b%# %E' +# set prompt +PROMPT='%B[%b%n@%m %1~%B]%b%# %E' # Print greeting message echo $(uname -srm)