This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/common/fish/config.fish

23 lines
581 B
Fish
Raw Normal View History

2021-11-03 12:01:43 -05:00
source (dirname (status --current-filename))/paths.fish
2020-01-16 17:01:59 -06:00
2021-03-06 22:07:30 -06:00
for s in $ENV_PATH/*/config.d.fish
source $s (dirname $s)
end
2020-01-16 17:01:59 -06:00
status --is-interactive || exit
2021-11-03 12:01:43 -05:00
for f in vars colors prompt functions key-bindings
2021-03-03 01:05:58 -06:00
source $FISH_PATH/$f.fish
2020-01-20 14:01:06 -06:00
end
2021-03-06 22:07:30 -06:00
2021-05-14 15:13:43 -05:00
if has_command brew && test -f (brew --prefix asdf)/lib/asdf.fish
set -Ux ASDF_DIR (brew --prefix asdf)
source (brew --prefix asdf)/lib/asdf.fish
else if test -f $HOME/.asdf/asdf.fish
source $HOME/.asdf/asdf.fish
else if test -f /opt/asdf-vm/asdf.fish
source /opt/asdf-vm/asdf.fish
end
2021-11-03 12:01:43 -05:00
test $PWD = $HOME && begin; cd $NICE_HOME || cd; end