aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/sudo.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/sudo.bash')
-rw-r--r--bash/bashrc.d/sudo.bash7
1 files changed, 0 insertions, 7 deletions
diff --git a/bash/bashrc.d/sudo.bash b/bash/bashrc.d/sudo.bash
deleted file mode 100644
index d6d91d12..00000000
--- a/bash/bashrc.d/sudo.bash
+++ /dev/null
@@ -1,7 +0,0 @@
-# Add the -H parameter to sudo(8) calls, always use the target user's $HOME
-sudo() {
- if [[ $1 != -v ]] ; then
- set -- -H "$@"
- fi
- command sudo "$@"
-}