Merge pull request #1968 from gaelicWizard/oops

theme/powerline: fix an oops in the last patch
pull/1975/head
Noah Gorny 2021-10-12 23:26:17 +03:00 committed by GitHub
commit 48c17e95c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ function __powerline_scm_prompt() {
} }
function __powerline_cwd_prompt() { function __powerline_cwd_prompt() {
local cwd="${PWD/$HOME/\~}" local cwd="${PWD/$HOME/~}"
echo "${cwd}|${CWD_THEME_PROMPT_COLOR}" echo "${cwd}|${CWD_THEME_PROMPT_COLOR}"
} }