From 0a1100beaed40bdfe39ad17a2b5d0f72f7de18fb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 5 May 2023 22:46:18 +0200 Subject: zsh: add e and se aliases to edit files (optionally via sudo) --- user/settings/zsh.nix | 3 +++ 1 file changed, 3 insertions(+) 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"; -- cgit 1.4.1