Add ssh-add to both shells in fish

This commit is contained in:
albert 2024-05-02 07:19:24 +09:00
parent 9f2c3c96b1
commit 800324be40
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -6,10 +6,10 @@
enable = true; enable = true;
shellInit = '' shellInit = ''
set fish_greeting set fish_greeting
'';
interactiveShellInit = ''
set EDITOR vim set EDITOR vim
ssh-add > /dev/null &> /dev/null ssh-add > /dev/null &> /dev/null
'';
interactiveShellInit = ''
if not set -q TMUX && not set -q DISABLE_TMUX if not set -q TMUX && not set -q DISABLE_TMUX
if tmux has-session -t Main if tmux has-session -t Main
exec tmux attach-session -t Main exec tmux attach-session -t Main