aboutsummaryrefslogtreecommitdiff
path: root/mkshrc.d/00-sudo.sh
blob: 5abf549ca5437f4aa1dd19dc7da7bc299fe25e18 (plain)
1
2
3
4
if [ -x "$(command -v /usr/bin/sudo)" ]; then
	alias sudovi="EDITOR=vi sudoedit $@"
	alias sudovim="EDITOR=vim sudoedit $@"
fi