diff options
author | Alan Pearce | 2023-05-05 22:46:18 +0200 |
---|---|---|
committer | Alan Pearce | 2023-05-05 22:46:18 +0200 |
commit | 0a1100beaed40bdfe39ad17a2b5d0f72f7de18fb (patch) | |
tree | fa4122ef51b86fe92c521f74c78e166318534372 /user | |
parent | 1b4c5d2df091232ddd706714e67cc5a9f46765cf (diff) | |
download | nixfiles-0a1100beaed40bdfe39ad17a2b5d0f72f7de18fb.tar.lz nixfiles-0a1100beaed40bdfe39ad17a2b5d0f72f7de18fb.tar.zst nixfiles-0a1100beaed40bdfe39ad17a2b5d0f72f7de18fb.zip |
zsh: add e and se aliases to edit files (optionally via sudo)
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/zsh.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index fb9bcfca..0ff7f519 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -120,6 +120,9 @@ in sudo = "sudo "; watch = "watch "; + e = "$EDITOR"; + se = "sudo -e"; + d = "docker"; db = "docker build"; dr = "docker run"; |