···11if status is-interactive
22- # Commands to run in interactive sessions can go here
33- starship init fish | source
44- zoxide init fish | source
22+ # Commands to run in interactive sessions can go here
33+ starship init fish | source
44+ zoxide init fish | source
5566- # Aliases
77- alias l="exa"
88- alias lt="exa -T"
99- alias lT="exa -Tlh --no-user --no-time"
1010- alias ll="exa -lh --no-user"
1111- alias la="exa -lha --git --no-user"
1212- alias nv="foreground_nvim"
1313- alias gr="gh repo clone"
1414- alias glz="lazygit"
66+ # Aliases
77+ alias l="exa"
88+ alias lt="exa -T"
99+ alias lT="exa -Tlh --no-user --no-time"
1010+ alias ll="exa -lh --no-user"
1111+ alias la="exa -lha --git --no-user"
1212+ alias nv="foreground_nvim"
1313+ alias gr="gh repo clone"
1414+ alias glz="lazygit"
15151616- # Exported Variables
1717- set -gx PATH ~/.local/bin $PATH
1616+ # Exported Variables
1717+ set -gx PATH ~/.local/bin $PATH
18181919- if not set -q XDG_CONFIG_HOME
2020- set -gx XDG_CONFIG_HOME "$HOME/.config"
2121- end
1919+ if not set -q XDG_CONFIG_HOME
2020+ set -gx XDG_CONFIG_HOME "$HOME/.config"
2121+ end
22222323- set -gx EDITOR nvim
2323+ set -gx EDITOR nvim
24242525- # set $TERM as wezterm to support undercurl in neovim (see wezterm#2505)
2626- if test "$TERM_PROGRAM" = "WezTerm"
2727- set -gx TERM wezterm
2828- end
2525+ # set $TERM as wezterm to support undercurl in neovim (see wezterm#2505)
2626+ if test "$TERM_PROGRAM" = WezTerm
2727+ set -gx TERM wezterm
2828+ end
29293030- ## Go
3131- set -gx GOROOT "$(brew --prefix golang)/libexec"
3232- set -gx GOPATH $HOME/go
3333- set -gx PATH $PATH $GOROOT/bin $GOPATH/bin
3030+ ## Go
3131+ set -gx GOROOT "$(brew --prefix golang)/libexec"
3232+ set -gx GOPATH $HOME/go
3333+ set -gx PATH $PATH $GOROOT/bin $GOPATH/bin
34343535- ## Flutter
3636- set -gx PATH $PATH /opt/homebrew/Caskroom/flutter/2.10.4/flutter/bin
3535+ ## Flutter
3636+ set -gx PATH $PATH /opt/homebrew/Caskroom/flutter/2.10.4/flutter/bin
37373838- ## Rust
3939- set -gx PATH $PATH $HOME/.cargo/bin
3838+ ## Rust
3939+ set -gx PATH $PATH $HOME/.cargo/bin
40404141- ## FZF
4242- set -gx FZF_DEFAULT_OPTS "--bind='ctrl-u:preview-half-page-up' \
4141+ ## FZF
4242+ set -gx FZF_DEFAULT_OPTS "--bind='ctrl-u:preview-half-page-up' \
4343--bind='ctrl-d:preview-half-page-down'"
44444545- # brew shell completion (see: https://docs.brew.sh/Shell-Completion)
4646- if test -d (brew --prefix)"/share/fish/completions"
4747- set -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/completions
4848- end
4949- if test -d (brew --prefix)"/share/fish/vendor_completions.d"
5050- set -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
5151- end
4545+ # brew shell completion (see: https://docs.brew.sh/Shell-Completion)
4646+ if test -d (brew --prefix)"/share/fish/completions"
4747+ set -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/completions
4848+ end
4949+ if test -d (brew --prefix)"/share/fish/vendor_completions.d"
5050+ set -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
5151+ end
5252end