Skip to content

Commit

Permalink
Merge pull request #1974 from zou000/patch-1
Browse files Browse the repository at this point in the history
Fix home dir substitution
  • Loading branch information
NoahGorny committed Oct 18, 2021
2 parents 7987e4b + 7911f77 commit 5feebcc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions themes/powerline/powerline.base.bash
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ function __powerline_scm_prompt() {
}

function __powerline_cwd_prompt() {
local cwd="${PWD/$HOME/~}"

echo "${cwd}|${CWD_THEME_PROMPT_COLOR}"
echo "\w|${CWD_THEME_PROMPT_COLOR}"
}

function __powerline_hostname_prompt() {
Expand Down

0 comments on commit 5feebcc

Please sign in to comment.