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
|
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
|
|
|
|
|
2025-01-12 13:08:53 +00:00
|
|
|
abbr -a rootnvim sudo -Es nvim
|
|
|
|
|
2025-01-16 21:18:05 +00:00
|
|
|
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
|
2024-12-15 21:00:24 +00:00
|
|
|
zoxide init fish | source
|
2024-12-15 19:30:46 +00:00
|
|
|
end
|