ljkasdljkasdjklasd
This commit is contained in:
parent
23ec80c457
commit
30b9ea264f
|
@ -71,16 +71,15 @@
|
||||||
home.shellAliases.xargs = "xargs ";
|
home.shellAliases.xargs = "xargs ";
|
||||||
|
|
||||||
# Be conservative with files
|
# Be conservative with files
|
||||||
# --preserver-root is for GNU versions
|
# --preserver-root is for GNU versions, preventing changing perms on /
|
||||||
# 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 /
|
|
||||||
home.shellAliases.chown = "chown --preserve-root";
|
home.shellAliases.chown = "chown --preserve-root";
|
||||||
home.shellAliases.chmod = "chmod --preserve-root";
|
home.shellAliases.chmod = "chmod --preserve-root";
|
||||||
home.shellAliases.chgrp = "chgrp --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; [
|
home.packages = lib.filter (x: x != null) (with pkgs; [
|
||||||
rsync
|
rsync
|
||||||
|
|
Loading…
Reference in New Issue