47 lines
1.1 KiB
Fish
47 lines
1.1 KiB
Fish
set -g fish_greeting "Hi Dadd"
|
|
|
|
# Set editor
|
|
set -gx EDITOR nvim
|
|
set -gx KUBE_EDITOR nvim
|
|
set -g TERM xterm-256color
|
|
|
|
# For enable nvim server, first instance become the listener
|
|
#set -gx NVIM_LISTEN_ADDRESS /tmp/nvim-server.sock
|
|
|
|
if status is-interactive
|
|
# Commands to run in interactive sessions can go here
|
|
fish_vi_key_bindings
|
|
|
|
set -g fish_sequence_key_delay_ms 200
|
|
bind -M insert -m default j,k cancel repaint-mode
|
|
|
|
# \c Ctrl, \e Alt
|
|
bind -M insert \cy 'y; commandline -f repaint'
|
|
bind -M insert \cv 'nvim; commandline -f repaint'
|
|
set -q KREW_ROOT; and set -gx PATH $PATH $KREW_ROOT/.krew/bin; or set -gx PATH $PATH $HOME/.krew/bin
|
|
|
|
set -U autovenv_enable yes
|
|
set -U autovenv_announce yes
|
|
set -U autovenv_dir .venv
|
|
|
|
git-refresh
|
|
end
|
|
|
|
fish_add_path /home/df/.opencode/bin
|
|
|
|
# Added by LM Studio CLI (lms)
|
|
set -gx PATH $PATH /home/df/.lmstudio/bin
|
|
# End of LM Studio CLI section
|
|
|
|
# bun
|
|
set --export BUN_INSTALL "$HOME/.bun"
|
|
set --export PATH $BUN_INSTALL/bin $PATH
|
|
|
|
# Go
|
|
fish_add_path $HOME/go/bin
|
|
|
|
# Cargo (Rust)
|
|
fish_add_path $HOME/.cargo/bin
|
|
|
|
alias claude 'claude --allow-dangerously-skip-permissions'
|