diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-08-28 08:51:20 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-08-28 08:51:37 +0900 |
| commit | c8892cc179733a0d44711cced9b51ce806bae086 (patch) | |
| tree | 2890021bd00a78f38116a2255c257216ffa232d7 /mac/.config/zsh | |
| parent | f1ad1dbe1194681c1aa20493b5555bb161a047c9 (diff) | |
changes
Diffstat (limited to 'mac/.config/zsh')
| -rw-r--r-- | mac/.config/zsh/scripts.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mac/.config/zsh/scripts.zsh b/mac/.config/zsh/scripts.zsh index 42c60fc..7ebe2ed 100644 --- a/mac/.config/zsh/scripts.zsh +++ b/mac/.config/zsh/scripts.zsh @@ -466,7 +466,7 @@ function fzf_kill_process() { # open lf and cd to the file path function lfcd () { tmp="$(mktemp -uq)" - trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM PWR EXIT' HUP INT QUIT TERM PWR EXIT + trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM EXIT' HUP INT QUIT TERM EXIT lf -last-dir-path="$tmp" "$@" if [ -f "$tmp" ]; then dir="$(cat "$tmp")" |
