3 ms·
Bash has PROMPT_DIRTRIM to only print the last n components (this effect can also be achieved using zsh: https://unix.stackexchange.com/questions/273529/shorten
by hddqsb 3y ago
Bash has PROMPT_DIRTRIM to only print the last n components (this effect can also be achieved using zsh: https://unix.stackexchange.com/questions/273529/shorten-path-in-zsh-prompt https://unix.stackexchange.com/questions/273529/shorten-path...).