Add cd .. aliases
This commit is contained in:
parent
d162e2262b
commit
6a9cd5b5d2
|
@ -59,11 +59,14 @@ in {
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
# Shortcut for nixos-rebuild
|
# Shortcut for nixos-rebuild
|
||||||
nr = "sudo nixos-rebuild --fast --flake $HOME/nixos-configs";
|
nr = "sudo nixos-rebuild --fast --flake $HOME/nixos-configs";
|
||||||
# Set some user-friendly defaults (use e.g. "command cp" to skip the alias)
|
# Always preserve mode, ownership, ts with copy
|
||||||
# -r (recursively copy dirs) -p (preserve mode, ownership, timestamps)
|
|
||||||
cp = "cp -rp";
|
cp = "cp -rp";
|
||||||
xo = "xdg-open";
|
xo = "xdg-open";
|
||||||
smv = "rsync -v --remove-source-files";
|
smv = "rsync -v --remove-source-files";
|
||||||
|
".." = "cd ..";
|
||||||
|
"..." = "cd ../..";
|
||||||
|
"...." = "cd ../../..";
|
||||||
|
"....." = "cd ../../../..";
|
||||||
};
|
};
|
||||||
security.sudo.extraRules = [{
|
security.sudo.extraRules = [{
|
||||||
users = [ "tvb" ];
|
users = [ "tvb" ];
|
||||||
|
|
Loading…
Reference in New Issue