2023-05-03 14:35:45 +01:00
|
|
|
if status is-interactive
|
|
|
|
# Commands to run in interactive sessions can go here
|
|
|
|
end
|
2023-10-02 11:16:52 +01:00
|
|
|
|
2023-05-13 19:22:56 +01:00
|
|
|
export EDITOR="nvim"
|
2024-02-09 19:57:50 +00:00
|
|
|
export TERMINAL="st"
|
|
|
|
export TERMINAL_PROG="st"
|
2023-10-31 14:24:18 +00:00
|
|
|
export BROWSER="firefox"
|
2023-12-10 15:52:32 +00:00
|
|
|
export PAGER="bat"
|
2023-10-31 14:24:18 +00:00
|
|
|
|
|
|
|
export XDG_CONFIG_HOME="$HOME/.config"
|
|
|
|
export XDG_DATA_HOME="$HOME/.local/share"
|
2024-01-30 23:16:02 +00:00
|
|
|
export XDG_CACHE_HOME="$HOME/.cache"
|
2023-10-31 14:24:18 +00:00
|
|
|
|
|
|
|
export GOPATH="$XDG_DATA_HOME/go"
|
|
|
|
|
2023-05-13 19:22:56 +01:00
|
|
|
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
2023-09-25 10:02:50 +01:00
|
|
|
export MANROFFOPT="-c"
|
2024-02-17 14:16:43 +00:00
|
|
|
export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
|
2023-05-03 14:35:45 +01:00
|
|
|
|
2023-11-18 15:30:36 +00:00
|
|
|
source $XDG_CONFIG_HOME/fish/aliasrc
|
2024-01-31 15:16:11 +00:00
|
|
|
|
2023-10-31 14:24:18 +00:00
|
|
|
|
2024-03-15 21:20:19 +00:00
|
|
|
#fish_default_key_bindings
|
|
|
|
fish_vi_key_bindings
|
2023-11-18 15:30:36 +00:00
|
|
|
bind \cH backward-kill-path-component
|
|
|
|
bind "[3;5~" kill-word
|
2024-03-15 21:20:19 +00:00
|
|
|
bind -M insert \cf $XDG_DATA_HOME/scripts/tmux-sessionizer.sh
|
|
|
|
bind -M default \cf $XDG_DATA_HOME/scripts/tmux-sessionizer.sh
|
2023-10-31 14:24:18 +00:00
|
|
|
|
2023-05-03 14:35:45 +01:00
|
|
|
set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/tsousa/.ghcup/bin $PATH # ghcup-env
|
|
|
|
fish_add_path $HOME/.local/share/nvim/mason/bin/
|
2024-02-04 18:22:38 +00:00
|
|
|
fish_add_path $HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin
|
2023-09-24 16:01:00 +01:00
|
|
|
fish_add_path $HOME/.cargo/bin/
|
2023-09-24 18:24:54 +01:00
|
|
|
fish_add_path $HOME/.config/emacs/bin
|
2023-05-14 18:32:46 +01:00
|
|
|
|
|
|
|
starship init fish | source
|
|
|
|
|
2023-09-21 10:02:20 +01:00
|
|
|
# >>> conda initialize >>>
|
|
|
|
# !! Contents within this block are managed by 'conda init' !!
|
2024-04-05 11:24:08 +01:00
|
|
|
if test -f /home/tsousa/.miniforge3/bin/conda
|
|
|
|
eval /home/tsousa/.miniforge3/bin/conda "shell.fish" "hook" $argv | source
|
|
|
|
else
|
|
|
|
if test -f "/home/tsousa/.miniforge3/etc/fish/conf.d/conda.fish"
|
|
|
|
. "/home/tsousa/.miniforge3/etc/fish/conf.d/conda.fish"
|
|
|
|
else
|
|
|
|
set -x PATH "/home/tsousa/.miniforge3/bin" $PATH
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
if test -f "/home/tsousa/.miniforge3/etc/fish/conf.d/mamba.fish"
|
|
|
|
source "/home/tsousa/.miniforge3/etc/fish/conf.d/mamba.fish"
|
2023-09-21 10:02:20 +01:00
|
|
|
end
|
|
|
|
# <<< conda initialize <<<
|