Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
3445dada
Commit
3445dada
authored
Dec 29, 2011
by
Philip Hofstetter
Browse files
correctly handle path names with spaces
parent
77045230
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/pygmalion.zsh-theme
View file @
3445dada
...
...
@@ -18,7 +18,7 @@ prompt_setup_pygmalion(){
prompt_pygmalion_precmd(){
local gitinfo=$(git_prompt_info)
local gitinfo_nocolor=$(echo "$gitinfo" | perl -pe "s/%\{[^}]+\}//g")
local exp_nocolor=$(print -P "$base_prompt_nocolor$gitinfo_nocolor$post_prompt_nocolor")
local exp_nocolor=
"
$(print -P
\
"$base_prompt_nocolor$gitinfo_nocolor$post_prompt_nocolor
\
")
"
local prompt_length=${#exp_nocolor}
local nl=""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment