mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-17 02:00:07 +00:00
Merge pull request #205 from dritter/dir_delimiter
Change default dir truncation delimitor to ellipsis
This commit is contained in:
commit
dfd7ae1f1d
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ prompt_dir() {
|
||||||
local current_path='%~'
|
local current_path='%~'
|
||||||
if [[ -n "$POWERLEVEL9K_SHORTEN_DIR_LENGTH" ]]; then
|
if [[ -n "$POWERLEVEL9K_SHORTEN_DIR_LENGTH" ]]; then
|
||||||
|
|
||||||
set_default POWERLEVEL9K_SHORTEN_DELIMITER ".."
|
set_default POWERLEVEL9K_SHORTEN_DELIMITER $'\U2026'
|
||||||
|
|
||||||
case "$POWERLEVEL9K_SHORTEN_STRATEGY" in
|
case "$POWERLEVEL9K_SHORTEN_STRATEGY" in
|
||||||
truncate_middle)
|
truncate_middle)
|
||||||
|
|
Loading…
Reference in a new issue