modified fake sudo

This commit is contained in:
tracer 2020-05-28 12:08:18 +02:00
parent eecddb7c3f
commit 4a4827adbf
1 changed files with 1 additions and 4 deletions

5
.zshrc
View File

@ -22,10 +22,7 @@ export PROMPT='$(cdbm -add)'$PROMPT
function c() { dir=$(cdbm 3>&1 1>&2 2>&3); cd $dir; } function c() { dir=$(cdbm 3>&1 1>&2 2>&3); cd $dir; }
function pb() { echo "$1" | nc pastebin.24unix.net 9999 } function pb() { echo "$1" | nc pastebin.24unix.net 9999 }
function sudo() { function sudo() {
arguments=$@ $@
command=$1
arguments=${arguments[@]/$command}
eval "$command $arguments"
} }
neofetch neofetch