if status is-login
    if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
        exec startx -- -keeptty
    end
end

set -x PATH ~/.emacs.d/bin ~/.local/bin ~/.cargo/bin (yarn global bin) /usr/share/bcc/tools $PATH
set -x BROWSER "firefox"
set -x EDITOR "nvim"
set -x PAGER "bat"
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
set -x TSSERVER_LOG_FILE "/tmp/tsserver.log"

abbr -a -- hm history merge

abbr -a -- cf nvim ~/.config/fish/config.fish
abbr -a -- ck nvim ~/.config/kitty/kitty.conf
abbr -a -- ci nvim ~/.config/i3/config

if status is-login
    if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
        exec startx -- -keeptty
    end
end

set -x PATH ~/.local/bin ~/.emacs.d/bin ~/.cargo/bin (yarn global bin) ~/.cabal/bin ~/.ghcup/bin $PATH
set -x BROWSER "firefox"
set -x EDITOR "nvim"
set -x PAGER "bat"
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
set -x TSSERVER_LOG_FILE "/tmp/tsserver.log"

abbr -a -- hm history merge

abbr -a -- cf nvim ~/.config/fish/config.fish
abbr -a -- ck nvim ~/.config/kitty/kitty.conf
abbr -a -- ci nvim ~/.config/i3/config


Add ghcup bin dir to path
Add ghcup bin dir to path

jdnavarro/dotfiles