Update for zellij and fish

This commit is contained in:
albert 2024-04-29 13:59:41 +09:00
parent 445705fd23
commit f998aeade6
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -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 = ''