Fixed !$ issue
This commit is contained in:
parent
14904a1b71
commit
fef06b01ac
12
shells/zshrc
12
shells/zshrc
@ -242,9 +242,9 @@ antigen bundle zsh-users/zsh-syntax-highlighting
|
||||
printf "applying..."
|
||||
antigen apply
|
||||
echo "done"
|
||||
zshaddhistory () {
|
||||
print -sr -- "${1%%$'\n'}"
|
||||
fc -p ~/.zsh_history_detail
|
||||
print -sr -- "${1%%$'\n'} ### ${PWD} $(date '+%Y-%m-%d %R')"
|
||||
return 1
|
||||
}
|
||||
#zshaddhistory () {
|
||||
# print -sr -- "${1%%$'\n'}"
|
||||
# fc -p ~/.zsh_history_detail
|
||||
# print -sr -- "${1%%$'\n'} ### ${PWD} $(date '+%Y-%m-%d %R')"
|
||||
# return 1
|
||||
#}
|
||||
|
Loading…
Reference in New Issue
Block a user