2023-02-08 23:20:18 -05:00
|
|
|
# Exports
|
2023-02-08 11:16:16 -05:00
|
|
|
set --export EDITOR "vim"
|
|
|
|
set --export PF_INFO "ascii title os host kernel uptime pkgs memory wm shell editor palette"
|
2023-02-11 01:17:41 -05:00
|
|
|
set --export MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
|
|
|
set --export QT_QPA_PLATFORMTHEME "gtk2"
|
2023-02-08 11:16:16 -05:00
|
|
|
|
2022-12-11 11:07:30 -05:00
|
|
|
if status is-interactive
|
2023-04-14 12:48:43 -04:00
|
|
|
|
2022-12-11 11:07:30 -05:00
|
|
|
# Commands to run in interactive sessions can go here
|
|
|
|
end
|
|
|
|
|
2023-04-14 12:48:43 -04:00
|
|
|
# Start X at login
|
|
|
|
if status --is-login
|
|
|
|
if test -z "$DISPLAY" -a $XDG_VTNR = 1
|
|
|
|
exec startx -- -keeptty
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2023-02-08 11:16:16 -05:00
|
|
|
fish_add_path "$HOME/.local/bin"
|
2023-04-14 12:48:43 -04:00
|
|
|
fish_add_path "$HOME/.cargo/bin"
|
2023-02-08 11:16:16 -05:00
|
|
|
|
|
|
|
source "$HOME/.config/fish/abbreviations.fish"
|
|
|
|
|
2022-12-11 11:07:30 -05:00
|
|
|
starship init fish | source
|