Update for zellij and fish
This commit is contained in:
parent
445705fd23
commit
f998aeade6
1 changed files with 3 additions and 4 deletions
|
@ -5,12 +5,11 @@
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
# set GPG_TTY $tty
|
|
||||||
set EDITOR vim
|
set EDITOR vim
|
||||||
|
set ZELLIJ_AUTO_ATTACH true
|
||||||
|
set ZELLIJ_AUTO_EXIT true
|
||||||
ssh-add > /dev/null &> /dev/null
|
ssh-add > /dev/null &> /dev/null
|
||||||
if [ -z "$DISABLE_TMUX" ] && [ -z "$TMUX" ];
|
eval (zellij setup --generate-auto-start fish | string collect)
|
||||||
tmux attach || exec tmux new-session && exit
|
|
||||||
end
|
|
||||||
'';
|
'';
|
||||||
functions = {
|
functions = {
|
||||||
update_secrets = ''
|
update_secrets = ''
|
||||||
|
|
Loading…
Reference in a new issue