summaryrefslogtreecommitdiff
path: root/mac/.config/zsh/scripts.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/zsh/scripts.zsh')
-rw-r--r--mac/.config/zsh/scripts.zsh2
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")"