Add ssh-add to both shells in fish
This commit is contained in:
parent
9f2c3c96b1
commit
800324be40
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue