dotfiles/.config/fish/functions/ets.fish

3 lines
213 B
Fish

function ets --wraps='emacsclient -a "" -t "/sudo:root@localhost:"' --description 'Start emacsclient (+daemon if neccessary) in terminal mode with sudo'
emacsclient -a "" -ut "/sudo:root@localhost:$argv";
end