add fish config and aliases

This commit is contained in:
2026-10-29 14:43:39 -06:00
parent 1a5622d1d6
commit 5edb3ff498
3 changed files with 127 additions and 0 deletions

32
fish/config.fish Normal file
View File

@@ -0,0 +1,32 @@
# this config file runs last after all ./conf.d/* files
# system-wide fish config
source /usr/share/cachyos-fish-config/cachyos-config.fish
# overwrite greeting
# potentially disabling fastfetch
#function fish_greeting
# smth smth
#end
# load custom aliases that clobber system-wide sourced in above config
test -r ~/.config/fish/aliases.fish; and source ~/.config/fish/aliases.fish
# common bin directories
fish_add_path --global --prepend ~/.local/bin ~/bin
# opencode
fish_add_path /home/adrian/.opencode/bin
# Go code paths
fish_add_path /usr/local/go/bin
fish_add_path "$(go env GOPATH)/bin"
# fun scripts
if string match -qir '^(1|y|yes|true|on)$' -- "$HAVE_FUN"
and test -r ~/.config/fish/fun.fish
source ~/.config/fish/fun.fish
end
# init oh-my-posh with custom theme
oh-my-posh init fish --config '~/.omp/themes/custom.json' | source