Push improvements form the PQB work
This commit is contained in:
parent
f3323b159b
commit
1e3c60630e
68 changed files with 409 additions and 219 deletions
8
_home/dot_sz.shrc.d/23_sudo
Normal file
8
_home/dot_sz.shrc.d/23_sudo
Normal file
|
@ -0,0 +1,8 @@
|
|||
#alias sudo="/usr/bin/sudo "
|
||||
function sudo() {
|
||||
local cli="$(command -v "${1}")"
|
||||
[[ -x "$cli" ]] || cli="${1}"
|
||||
/usr/bin/sudo --preserve-env=PATH -- "$cli" "${@:2}"
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue