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
pull/2152/head
parent
2ef5d483e3
commit
129340d24d
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue