dotfiles/.config/fish/config.fish

47 lines
1.3 KiB
Fish
Raw Normal View History

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"
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"
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
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-01-31 15:16:11 +00:00
bind \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-12-10 15:52:32 +00:00
# google cloud bin
fish_add_path /opt/google-cloud-cli/bin
starship init fish | source
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
if test -f /home/tsousa/.miniconda3/bin/conda
eval /home/tsousa/.miniconda3/bin/conda "shell.fish" "hook" $argv | source
end
# <<< conda initialize <<<
2023-10-02 11:16:52 +01:00
conda deactivate