ljkasdljkasdjklasd

This commit is contained in:
Peder Bergebakken Sundt 2024-06-04 11:34:27 +02:00
parent 23ec80c457
commit 30b9ea264f
1 changed files with 6 additions and 7 deletions

View File

@ -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