diff options
author | Soispha <soispha@vhack.eu> | 2023-05-28 22:23:15 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-28 22:34:09 +0200 |
commit | 9cc1b8c394e3a9e8fd451c3d7bf954578ee50bf8 (patch) | |
tree | 54e3f6b5476aa20c05eeb0e487dea96643ddfd4d /home-manager/packages/scripts/wrappers | |
parent | chore(version): v1.6.0 (diff) | |
download | nixos-config-9cc1b8c394e3a9e8fd451c3d7bf954578ee50bf8.tar.gz nixos-config-9cc1b8c394e3a9e8fd451c3d7bf954578ee50bf8.zip |
Fix(hm/pkgs/scrs/ll): Don't use the tempdir provided by lib
Diffstat (limited to '')
-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 |