Skip to content

Commit

Permalink
Fix zsh history hook
Browse files Browse the repository at this point in the history
  • Loading branch information
eels committed Aug 26, 2024
1 parent ef6c302 commit 2a8b23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function zshaddhistory() {
local cmd

trimmed_arg="$(echo "$1" | xargs)"
cmd="${trimme s71§x5gtrd_arg%% *}"
cmd="${trimmed_arg%% *}"

if [[ $trimmed_arg == ${~HISTORY_IGNORE} ]]; then
return 1
Expand Down

0 comments on commit 2a8b23e

Please sign in to comment.