zsh: add e and se aliases to edit files (optionally via sudo)
Alan Pearce alan@alanpearce.eu
Fri, 05 May 2023 22:46:18 +0200
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M user/settings/zsh.nix → user/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";