Thx for this!
If you are polite, it works: alias please='sudo zsh -c "$(fc -ln -1)"' # rerun the last command with sudo (because it failed ) Easier PATH management: # nicer path configuration and lookup function path { if [[ $# -eq 0…
Thx for this!
If you are polite, it works: alias please='sudo zsh -c "$(fc -ln -1)"' # rerun the last command with sudo (because it failed ) Easier PATH management: # nicer path configuration and lookup function path { if [[ $# -eq 0…