diff options
Diffstat (limited to '')
-rwxr-xr-x | pkgs/by-name/ll/ll/ll.sh | 1 | ||||
-rwxr-xr-x | pkgs/by-name/lm/lm/lm.sh (renamed from pkgs/by-name/ll/lm/lm.sh) | 2 | ||||
-rw-r--r-- | pkgs/by-name/lm/lm/package.nix (renamed from pkgs/by-name/ll/lm/package.nix) | 0 |
3 files changed, 2 insertions, 1 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!" diff --git a/pkgs/by-name/ll/lm/lm.sh b/pkgs/by-name/lm/lm/lm.sh index 55be0798..d5fdca10 100755 --- a/pkgs/by-name/ll/lm/lm.sh +++ b/pkgs/by-name/lm/lm/lm.sh @@ -7,6 +7,6 @@ if [ -f "$XDG_RUNTIME_DIR/ll/last_directory" ]; then last_dir="$(cat "$XDG_RUNTIME_DIR/ll/last_directory")" cd "$last_dir" || die "$last_dir does not exist!" else - msg "No last directory safed (try using ll instead)." + msg "No last directory saved (try using ll instead)." fi # vim: ft=sh diff --git a/pkgs/by-name/ll/lm/package.nix b/pkgs/by-name/lm/lm/package.nix index ef417cd2..ef417cd2 100644 --- a/pkgs/by-name/ll/lm/package.nix +++ b/pkgs/by-name/lm/lm/package.nix |