From 416502de3c3daa341be45ac821b49b3d3c9b25b5 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 28 Dec 2020 19:41:56 +0100 Subject: [PATCH] Remove Sudo. Add fucking as alias for sudo. Start emacs in no-window --- arch-config/.bashrc | 5 +++-- arch-config/.config/fish/config.fish | 12 +++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/arch-config/.bashrc b/arch-config/.bashrc index cffa3ea9..d8bf6e8e 100644 --- a/arch-config/.bashrc +++ b/arch-config/.bashrc @@ -47,8 +47,9 @@ alias fgrep='fgrep --color=auto' alias wget="wget -c" # Aliases for software managment -alias pacman='sudo pacman --color auto' -alias update='yay -Syu' +alias pacman='pacman --color auto' +#alias update='yay -Syu' +alias update='paru -Syu --sudoloop --newsonupgrade' #grub update #alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg" diff --git a/arch-config/.config/fish/config.fish b/arch-config/.config/fish/config.fish index 880b6d8b..61b18a13 100644 --- a/arch-config/.config/fish/config.fish +++ b/arch-config/.config/fish/config.fish @@ -49,6 +49,12 @@ else end end +# edit with emacs +alias emacs="/usr/bin/emacs --no-window-system" + +# sudo alias +alias fucking=sudo + #update config alias upconf='~/scripts/arcolinux-config.sh' @@ -77,18 +83,18 @@ alias fgrep='fgrep --color=auto' alias wget="wget -c" # Aliases for software managment -alias pacman='sudo pacman --color auto' +alias pacman='pacman --color auto' #alias update='yay -Syu --sudoloop' alias update='paru -Syu --sudoloop --newsonupgrade' #grub update -alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg" +alias update-grub="grub-mkconfig -o /boot/grub/grub.cfg" #check vulnerabilities microcode alias microcode='grep . /sys/devices/system/cpu/vulnerabilities/*' #get fastest mirrors in your neighborhood -alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist" +alias mirror="reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist" #alias mirror-delay="sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist" #alias mirror-score="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist" #alias mirror-age="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"