add fish config and aliases
This commit is contained in:
32
fish/config.fish
Normal file
32
fish/config.fish
Normal 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
|
||||
Reference in New Issue
Block a user