all repos — nixfiles @ 0a1100beaed40bdfe39ad17a2b5d0f72f7de18fb

System and user configuration, managed by nix and home-manager

zsh: add e and se aliases to edit files (optionally via sudo)

Alan Pearce
commit

0a1100beaed40bdfe39ad17a2b5d0f72f7de18fb

parent

1b4c5d2df091232ddd706714e67cc5a9f46765cf

1 file changed, 3 insertions(+), 0 deletions(-)

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -120,6 +120,9 @@ # Enable the following commands to support aliases.
sudo = "sudo "; watch = "watch "; + e = "$EDITOR"; + se = "sudo -e"; + d = "docker"; db = "docker build"; dr = "docker run";