diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2023-11-18 01:09:43 +0100 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2023-11-18 01:09:43 +0100 |
| commit | 470411212a7b4c282c0e22e3a3fd93307cf57fdb (patch) | |
| tree | 15d3830341e678beaae502cc42ae07ad79a86f24 /share/home/zsh.nix | |
| parent | fc19dbeea95f35a3a21db6fad66a1896155bad38 (diff) | |
zsh: add tempdir alias
The added alias creates a temporary directory using mktemp and cd's into
it.
Diffstat (limited to 'share/home/zsh.nix')
| -rw-r--r-- | share/home/zsh.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/home/zsh.nix b/share/home/zsh.nix index 8b5f2b3..4a52f5c 100644 --- a/share/home/zsh.nix +++ b/share/home/zsh.nix @@ -16,6 +16,7 @@ ltg = "ls --git --tree"; ltgi = "ltg --git-ignore"; sl = "sl -awFc5"; + tempdir = "cd $(mktemp -d)"; }; }; home.packages = with pkgs; [ sl ]; |
