This commit is contained in:
albert 2024-04-30 17:54:05 +09:00
parent 478fd785d6
commit c22915268b
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 3 additions and 2 deletions
home-manager/common/software/cli
nixos/common/software/cli/scripts

View file

@ -8,7 +8,7 @@
set EDITOR vim
ssh-add > /dev/null &> /dev/null
if not set -q TMUX && not set -q DISABLE_TMUX
tmux attach || exec tmux new-session
tmux attach || exec tmux new-session && exit
end
'';

View file

@ -2,7 +2,8 @@
set -euo pipefail
## Defaults
keepGensDef=30; keepDaysDef=30
keepGensDef=7
keepDaysDef=14
keepGens=$keepGensDef; keepDays=$keepDaysDef
## Usage