updates fish config
This commit is contained in:
parent
5896575509
commit
a2f5079303
1 changed files with 3 additions and 6 deletions
|
|
@ -194,6 +194,7 @@
|
||||||
fish_add_path $ANDROID_HOME/platform-tools
|
fish_add_path $ANDROID_HOME/platform-tools
|
||||||
fish_add_path $HOME/.local/share/uv/tools
|
fish_add_path $HOME/.local/share/uv/tools
|
||||||
rbenv init - | source
|
rbenv init - | source
|
||||||
|
fnm env --use-on-cd --shell fish | source
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -213,18 +214,14 @@
|
||||||
setup_work
|
setup_work
|
||||||
end
|
end
|
||||||
|
|
||||||
# Third party integration not covered by
|
|
||||||
# home manager's enableFishIntegration
|
|
||||||
fnm env --use-on-cd --shell fish | source
|
|
||||||
|
|
||||||
# Auto start tmux
|
# Auto start tmux
|
||||||
if status is-interactive; and not set -q TMUX
|
if status is-interactive; and not set -q TMUX
|
||||||
if tmux list-sessions >/dev/null 2>&1
|
if tmux list-sessions >/dev/null 2>&1
|
||||||
# Attach to the first available session
|
# Attach to the first available session
|
||||||
tmux attach-session
|
tmux a
|
||||||
else
|
else
|
||||||
# Create a new session
|
# Create a new session
|
||||||
tmux new-session -t default
|
tmux new-session -t main
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue