Issue 2151 🛂 do not give users a root shell by executing arbitrary shell commands by 'vim'

also by removing 'sudo' aliases because bash-it should not be
              the business of mucking about with sudo at all
This commit is contained in:
Thomas Merz
2022-07-18 14:30:59 +02:00
parent 2ef5d483e3
commit 129340d24d

View File

@@ -71,10 +71,6 @@ alias rd='rmdir'
# Shorten extract # Shorten extract
alias xt='extract' alias xt='extract'
# sudo editors
alias svim='sudo ${VISUAL:-vim}'
alias snano='sudo nano'
# Display whatever file is regular file or folder # Display whatever file is regular file or folder
function catt() { function catt() {
for i in "$@"; do for i in "$@"; do