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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user