if status is-interactive
    # -------------------------------------------------------------------------
    # Environment Variables
    # -------------------------------------------------------------------------
    set fish_greeting ""
    set -gx DOTNET_ROOT $HOME/.dotnet
    fish_add_path $DOTNET_ROOT
    fish_add_path $DOTNET_ROOT
    set -gx DOTNET_SYSTEM_NET_DISABLEIPV6 1

    # -------------------------------------------------------------------------
    # Keybindings
    # -------------------------------------------------------------------------
    bind \cd\cd\cd delete-or-exit
    bind \cf 'ts; commandline -f repaint'

    # -------------------------------------------------------------------------
    # Shell Aliases
    # -------------------------------------------------------------------------
    # NixOS & Home Manager
    #alias rebuild="sudo nixos-rebuild switch"
    alias rebuild="nh os switch -f '<nixpkgs/nixos>'"
    alias hms="home-manager switch"

    # SSH Connections
    alias sshavatar="ssh warrentyexpired@192.168.88.111"
    alias sshvaultnas="ssh warrentyexpired@192.168.88.100"
    alias sshservarr="ssh warrentyexpired@192.168.88.101"
    alias sshdocker="ssh warrentyexpired@192.168.88.102"
    alias sshlive="ssh mementoadmin@uo-memento.com"
    alias sshproxy="ssh warrentyexpired@192.168.88.200"

    # Shortcuts & Utilities
    alias stff="mpv --autofit=10%"
    alias s="goto s"
    alias g="goto g"
    alias l="goto l"
    alias mv="mv -i --backup=t"
    alias cat="bat"

    # eza conditional setup
    if type -q eza
        alias ls='eza --color=always --group-directories-first --icons'
        alias ll='eza -a --color=always --group-directories-first --icons'
        alias la='eza -al --group-directories-first --icons'
        alias lt='eza -aT --level=2 --group-directories-first --icons'
        alias l.='eza -ad .* --group-directories-first --icons'
    else
        printf "You may want to install eza\n"
    end

    # -------------------------------------------------------------------------
    # Shell Abbreviations
    # -------------------------------------------------------------------------
    abbr -a sshracknerd 'mosh -p 60001 192.227.229.130 --ssh="ssh -p 5522"'
end
