Compare commits

..

2 commits

Author SHA1 Message Date
12467f30c8
Added basic aliases to fish 2023-10-24 22:57:27 -06:00
15963136a2
Added initial fish config 2023-10-24 22:52:19 -06:00
9 changed files with 61 additions and 0 deletions

2
.config/.gitignore vendored
View file

@ -54,6 +54,8 @@
!hypr/**
!swappy/
!swappy/**
!fish/
!fish/**
!.gitignore
polybar/default

3
.config/fish/config.fish Normal file
View file

@ -0,0 +1,3 @@
if status is-interactive
# Commands to run in interactive sessions can go here
end

View file

@ -0,0 +1,32 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:555\x1ebrblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:brblue
SETUVAR fish_color_comment:red
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:green
SETUVAR fish_color_error:brred
SETUVAR fish_color_escape:brcyan
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:brcyan
SETUVAR fish_color_param:cyan
SETUVAR fish_color_quote:yellow
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:yellow
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_greeting:\x1d
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr

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