Skip to content

Commit

Permalink
bug fix: put the joined tmp history on the same partition as permanen…
Browse files Browse the repository at this point in the history
…t history; see #35
  • Loading branch information
romkatv committed Jul 6, 2020
1 parent 93fc6e4 commit c200c73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fn/-z4h-ssh
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ fi
fi
done
if [[ -s $local_hist_tmp ]]; then
local TMPPREFIX=$local_hist
() {
() { fc -pa -- $1 $HISTSIZE $SAVEHIST } $1 && zf_mv -f -- $1 $local_hist
} =(command cat -- $local_hist(N) $local_hist_tmp) || return
Expand Down

0 comments on commit c200c73

Please sign in to comment.