From cdcdccb465e66e4d62b8fea537bfd76536b84429 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Wed, 2 Oct 2024 17:04:27 +0100 Subject: [PATCH] qenya/zsh: don't clobber with mv or rename --- home/qenya/zsh.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/qenya/zsh.nix b/home/qenya/zsh.nix index 42ccf8f..0d8ecc2 100644 --- a/home/qenya/zsh.nix +++ b/home/qenya/zsh.nix @@ -10,6 +10,11 @@ shellAliases = { ll = "ls -l"; + + # don't clobber + mv = "mv -i"; + rename = "rename -i"; + nix-shell = ''nix-shell --command "zsh"''; # TODO: tweak theme to display something when inside nix-shell };