mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Fix unquoted var borking with "setopt shwordsplit" & whitespace
This commit is contained in:
parent
96e4e5dd03
commit
cbacd85be2
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ function _per-directory-history-change-directory() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function _per-directory-history-addhistory() {
|
function _per-directory-history-addhistory() {
|
||||||
print -Sr -- ${1%%$'\n'}
|
print -Sr -- "${1%%$'\n'}"
|
||||||
fc -p $_per_directory_history_directory
|
fc -p $_per_directory_history_directory
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue