diff options
author | Torben Hartmann <th@stadesign.de> | 2017-12-05 19:30:49 +0300 |
---|---|---|
committer | Torben Hartmann <th@stadesign.de> | 2017-12-05 19:30:49 +0300 |
commit | 02fbaf2c4befcc9a291f391a1a045d1a055332c0 (patch) | |
tree | 6f41e8618f54114050bf01f10f3481a07cb6b910 /powerlevel9k.zsh-theme | |
parent | 6e931f6047994ebb4a83924c298678d059e183d4 (diff) |
IFS Fix attemp
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 5dd394ea..fb344f25 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -695,10 +695,10 @@ set_default POWERLEVEL9K_DIR_PATH_SEPARATOR "/" set_default POWERLEVEL9K_HOME_FOLDER_ABBREVIATION "~" set_default POWERLEVEL9K_DIR_SHOW_WRITABLE false prompt_dir() { - local tmp=$IFS + local tmp="$IFS" local IFS="" local current_path=$(pwd | sed -e "s,^$HOME,~,") - local IFS=$tmp + local IFS="$tmp" if [[ -n "$POWERLEVEL9K_SHORTEN_DIR_LENGTH" || "$POWERLEVEL9K_SHORTEN_STRATEGY" == "truncate_with_folder_marker" ]]; then set_default POWERLEVEL9K_SHORTEN_DELIMITER $'\U2026' |