about summary refs log tree commit diff stats
path: root/home-manager/packages
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xhome-manager/packages/scripts/wrappers/ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/home-manager/packages/scripts/wrappers/ll b/home-manager/packages/scripts/wrappers/ll
index f1d96f15..c43b619d 100755
--- a/home-manager/packages/scripts/wrappers/ll
+++ b/home-manager/packages/scripts/wrappers/ll
@@ -1,13 +1,14 @@
-#! /usr/bin/env dash
+#!/usr/bin/env dash
 
 # shellcheck source=/dev/null
 SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH
 
-last_directory="$(mktmp)"
+last_directory="$(mktemp)"
 
 command lf -last-dir-path="$last_directory" "$@"
 
 dir="$(cat "$last_directory")"
 cd "$dir" || die "$dir does not exist!"
+rm "$last_directory"
 
 # vim: ft=sh