1
0
Fork 0

Adding utility function to ease use of sudoedit

pull/327/head
Paul Gideon Dann 12 years ago
parent 13b501adaf
commit 2ccb2fb7b7

@ -101,6 +101,10 @@ alias lc='lt -c' # Lists sorted by date, most recent last, shows change
alias lu='lt -u' # Lists sorted by date, most recent last, shows access time.
alias sl='ls' # I often screw this up.
# Sudo-Edit
function se { SUDO_EDITOR="$1" sudoedit ${*:2} }
alias se="nocorrect se"
# Mac OS X Everywhere
if [[ "$OSTYPE" == darwin* ]]; then
alias o='open'

Loading…
Cancel
Save