2022-10-14 13:46:51 +01:00
|
|
|
if status is-interactive
|
|
|
|
# Commands to run in interactive sessions can go here
|
|
|
|
end
|
2022-12-01 15:59:06 +00:00
|
|
|
fish_default_key_bindings
|
2023-01-01 16:31:21 +00:00
|
|
|
|
2023-04-13 17:13:06 +01:00
|
|
|
set -gx EDITOR nvim
|
2023-06-28 00:33:59 +01:00
|
|
|
set -gx READER mupdf
|
2022-12-13 15:43:36 +00:00
|
|
|
|
2023-12-07 19:04:17 +00:00
|
|
|
fish_add_path /opt/homebrew/bin
|
|
|
|
fish_add_path /opt/homebrew/opt/openjdk@17/bin
|
2023-09-18 07:20:52 +01:00
|
|
|
fish_add_path $HOME/.bun/bin
|
|
|
|
fish_add_path $HOME/go/bin
|
2022-12-15 04:19:17 +00:00
|
|
|
fish_add_path $HOME/.local/share/nvim/mason/bin
|
2022-12-01 15:59:06 +00:00
|
|
|
fish_add_path /home/afonso/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin
|
2023-03-18 02:30:02 +00:00
|
|
|
fish_add_path $HOME/.local/bin
|
|
|
|
fish_add_path $HOME/.cargo/bin
|
|
|
|
fish_add_path $HOME/.ghcup/bin
|
2023-10-10 19:17:23 +01:00
|
|
|
fish_add_path /usr/bin/vendor_perl
|
2022-12-15 04:19:17 +00:00
|
|
|
|
2023-03-17 15:06:26 +00:00
|
|
|
source ~/.config/fish/myfunctions/dotfiles.fish
|
2023-05-25 00:13:44 +01:00
|
|
|
source ~/.config/fish/myfunctions/pacman.fish
|
2023-03-17 15:06:26 +00:00
|
|
|
source ~/.config/fish/myfunctions/qol.fish
|
2023-04-13 17:13:06 +01:00
|
|
|
source ~/.config/fish/myfunctions/replacements.fish
|
2023-06-02 02:12:36 +01:00
|
|
|
|
2023-09-18 07:20:52 +01:00
|
|
|
|
|
|
|
# bun
|
|
|
|
set --export BUN_INSTALL "$HOME/.bun"
|
|
|
|
set --export PATH $BUN_INSTALL/bin $PATH
|
2023-09-27 12:46:33 +01:00
|
|
|
|
2023-10-10 19:17:23 +01:00
|
|
|
|
2023-10-21 15:17:34 +01:00
|
|
|
# opam configuration
|
|
|
|
source /home/afonso/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|
|
|
|
|
2023-12-07 19:04:17 +00:00
|
|
|
tmux new-session -A -s main
|
2023-09-27 12:46:33 +01:00
|
|
|
starship init fish | source
|
2023-10-10 19:17:23 +01:00
|
|
|
|
2023-12-07 19:04:17 +00:00
|
|
|
|