diff options
Diffstat (limited to 'home-manager/packages/scripts')
-rwxr-xr-x | home-manager/packages/scripts/wrappers/ll | 5 |
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 |