better configs, fix flatpaks

This commit is contained in:
Barak Michener 2022-08-30 00:17:29 -07:00
parent 77e0a5a50f
commit da084d3243
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,13 @@
set PATH ~/bin ~/.local/bin ~/.go/bin ~/.cargo/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin $PATH
if command -vq flatpak
set -ga fish_user_paths ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin
set -gx --path XDG_DATA_DIRS /usr/local/share/ /usr/share/ ~/.local/share/flatpak/exports/share
for install_dir in (flatpak --installations)
set -gxa XDG_DATA_DIRS $install_dir/exports/share
end
end
set fish_greeting ""
set EDITOR vi
set -x GOPATH ~/.go