diff --git a/users/pbsds/home/profiles/shell.nix b/users/pbsds/home/profiles/shell.nix index 8639a65..5fb050c 100644 --- a/users/pbsds/home/profiles/shell.nix +++ b/users/pbsds/home/profiles/shell.nix @@ -71,16 +71,15 @@ home.shellAliases.xargs = "xargs "; # Be conservative with files - # --preserver-root is for GNU versions - # do not delete / or prompt if deleting more than 3 files at a time - home.shellAliases.rm = "rm -i --preserve-root"; - home.shellAliases.mv = "mv -i"; - home.shellAliases.cp = "cp -i"; - # Preventing changing perms on / + # --preserver-root is for GNU versions, preventing changing perms on / home.shellAliases.chown = "chown --preserve-root"; home.shellAliases.chmod = "chmod --preserve-root"; home.shellAliases.chgrp = "chgrp --preserve-root"; - + home.shellAliases.rm = "rm --preserve-root"; + # prompt if deleting more than 3 files at a time + #home.shellAliases.rm = "rm -i"; + #home.shellAliases.mv = "mv -i"; + #home.shellAliases.cp = "cp -i"; home.packages = lib.filter (x: x != null) (with pkgs; [ rsync