diff --git a/dot b/dot index 7993255..bfcd9f0 100755 --- a/dot +++ b/dot @@ -18,6 +18,7 @@ include() { func() { if is_function $(echo "super_$2"); then + [ "${DO_SUDO:-yes}" = "yes" ] || return 0 sudo sh -c ". $1 && super_$2" fi is_function $2 && $2