From b36dfd055921b33956118cbbbe98b58c0e388cce Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Tue, 11 Feb 2025 20:53:19 +0100 Subject: fish: revise tempdir alias --- share/cfg/fish.nix | 1 + share/home/minimal.nix | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/cfg/fish.nix b/share/cfg/fish.nix index 8615268..fc6ae01 100644 --- a/share/cfg/fish.nix +++ b/share/cfg/fish.nix @@ -8,6 +8,7 @@ body = "fish_command_not_found"; onEvent = "fish_command_not_found"; }; + t = "pushd $(mktemp -d /tmp/$1.XXXX)"; }; interactiveShellInit = '' fastfetch diff --git a/share/home/minimal.nix b/share/home/minimal.nix index 632b9d6..eb4b801 100644 --- a/share/home/minimal.nix +++ b/share/home/minimal.nix @@ -21,7 +21,6 @@ home.shellAliases = { ip = "ip --color=auto"; - tempdir = "cd $(mktemp -d)"; }; # Lots of these are courtesy of xdg-ninja -- cgit v1.3.1