aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/sudo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc.d/sudo.sh')
-rw-r--r--sh/shrc.d/sudo.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/sh/shrc.d/sudo.sh b/sh/shrc.d/sudo.sh
deleted file mode 100644
index d9e30bc4..00000000
--- a/sh/shrc.d/sudo.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-# Add the -H parameter to sudo(8) calls, always use the target user's $HOME
-sudo() {
- case $1 in
- -v) ;;
- *) set -- -H "$@" ;;
- esac
- command sudo "$@"
-}