dotfiles/.config/fish/config.fish
2023-12-07 19:04:17 +00:00

37 lines
989 B
Fish

if status is-interactive
# Commands to run in interactive sessions can go here
end
fish_default_key_bindings
set -gx EDITOR nvim
set -gx READER mupdf
fish_add_path /opt/homebrew/bin
fish_add_path /opt/homebrew/opt/openjdk@17/bin
fish_add_path $HOME/.bun/bin
fish_add_path $HOME/go/bin
fish_add_path $HOME/.local/share/nvim/mason/bin
fish_add_path /home/afonso/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin
fish_add_path $HOME/.local/bin
fish_add_path $HOME/.cargo/bin
fish_add_path $HOME/.ghcup/bin
fish_add_path /usr/bin/vendor_perl
source ~/.config/fish/myfunctions/dotfiles.fish
source ~/.config/fish/myfunctions/pacman.fish
source ~/.config/fish/myfunctions/qol.fish
source ~/.config/fish/myfunctions/replacements.fish
# bun
set --export BUN_INSTALL "$HOME/.bun"
set --export PATH $BUN_INSTALL/bin $PATH
# opam configuration
source /home/afonso/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
tmux new-session -A -s main
starship init fish | source