Added basic aliases to fish

This commit is contained in:
Logan G 2023-10-24 22:57:27 -06:00
parent 15963136a2
commit 12467f30c8
Signed by untrusted user: logan
GPG key ID: E328528C921E7A7A
6 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,4 @@
function grep --description 'alias grep=grep --color=auto'
command grep --color=auto $argv
end

View file

@ -0,0 +1,4 @@
function ls --description 'alias ls=ls --color=auto'
command ls --color=auto $argv
end

View file

@ -0,0 +1,4 @@
function lsgpu --wraps='lspci -nnk | grep -i VGA -A2' --description 'alias lsgpu=lspci -nnk | grep -i VGA -A2'
lspci -nnk | grep -i VGA -A2 $argv
end

View file

@ -0,0 +1,4 @@
function memepv --wraps='mpv --vo=tct --profile=sw-fast' --description 'alias memepv=mpv --vo=tct --profile=sw-fast'
mpv --vo=tct --profile=sw-fast $argv
end

View file

@ -0,0 +1,4 @@
function pacman-clean --wraps='pacman -Rsn $(pacman -Qdtq)' --description 'alias pacman-clean=pacman -Rsn $(pacman -Qdtq)'
pacman -Rsn $(pacman -Qdtq) $argv
end

View file

@ -0,0 +1,4 @@
function update-mirrors --wraps='reflector --age 12 --number 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist' --description 'alias update-mirrors=reflector --age 12 --number 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
reflector --age 12 --number 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist $argv
end