rvp I recommend using the real thing 😉
nahhhh, that little script is all I need. Thanks again!
However, I tried the longer version above (on Void Linux) and for some reason it doesn't like this line:
λ ~ ./sued.sh /usr/local/bin/ec
Password:
./sued.sh: 92: set: Illegal option -o pipefail
whether it has anything to do with linux or zsh I dont know but I'll test it on my Thonkpad later.