mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2026-01-29 01:13:01 +01:00
shell/aliases: Remove unused aliases
This commit is contained in:
parent
4889b323ff
commit
8a7da9c934
1 changed files with 0 additions and 7 deletions
|
|
@ -48,13 +48,6 @@ if [ -n "$(type sudo 2>/dev/null)" ] && [ "$USER" != 'root' ]; then
|
||||||
done
|
done
|
||||||
unset sudo
|
unset sudo
|
||||||
|
|
||||||
#create sudo aliases WITH leading s
|
|
||||||
for sudo in ps vim chown chmod;
|
|
||||||
do
|
|
||||||
type $sudo > /dev/null 2>&1 && alias s$sudo="sudo $sudo";
|
|
||||||
done
|
|
||||||
unset sudo
|
|
||||||
|
|
||||||
type pacman >/dev/null 2>&1 && pacman(){
|
type pacman >/dev/null 2>&1 && pacman(){
|
||||||
local sudo_needed
|
local sudo_needed
|
||||||
# Check if pacman has -S, -R or -U option
|
# Check if pacman has -S, -R or -U option
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue