dotfiles/.config/fish/config.fish

30 lines
731 B
Fish
Raw Permalink Normal View History

2024-12-15 19:30:46 +00:00
if status is-interactive
2025-01-16 21:32:00 +00:00
fish_add_path -p $HOME/.local/bin
if test -d /opt/nvim-linux64/bin
fish_add_path -a /opt/nvim-linux64/bin
end
2024-12-15 22:38:45 +00:00
switch (whoami)
# Corporate machine
case Ivan_Golikov
fish_add_path -p /usr/local/opt/libpq/bin
fish_add_path -a /Users/Ivan_Golikov/Projects/Scripts/bin
fish_add_path -a /Users/Ivan_Golikov/Library/Python/3.11/bin
2024-12-16 18:10:40 +00:00
case kmqg099:
fish_add_path -a /usr/local/opt/node@18/bin
2024-12-15 22:38:45 +00:00
end
abbr -a rootnvim sudo -Es nvim
if fish_version_test (fzf --version | cut -d ' ' -f 1) -gt '0.48.0'
fzf --fish | source
else
source /usr/share/doc/fzf/examples/key-bindings.fish
fzf_key_bindings
end
2024-12-15 22:38:45 +00:00
# keeping this in the end
zoxide init fish | source
2024-12-15 19:30:46 +00:00
end