diff options
Diffstat (limited to '')
-rwxr-xr-x | pkgs/by-name/ll/ll/ll.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/by-name/ll/ll/ll.sh b/pkgs/by-name/ll/ll/ll.sh index 9bec7eaf..73328e3e 100755 --- a/pkgs/by-name/ll/ll/ll.sh +++ b/pkgs/by-name/ll/ll/ll.sh @@ -9,6 +9,7 @@ command lf -last-dir-path="$last_directory" "$@" dir="$(cat "$last_directory")" if cd "$dir"; then + [ -d "$XDG_RUNTIME_DIR/ll" ] || mkdir "$XDG_RUNTIME_DIR/ll" echo "$dir" >"$XDG_RUNTIME_DIR/ll/last_directory" else die "$dir does not exist!" |