Add empty env

This commit is contained in:
Daniel Flanagan 2022-12-28 02:06:42 -06:00
parent 31eb562a5d
commit 09a87af9ce
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
4 changed files with 5 additions and 2 deletions

View file

@ -67,6 +67,9 @@ for s in $c/lytedev-env/*/dotfiles-setup.d.fish
source $s $dfp $h $c source $s $dfp $h $c
end end
rm -f $ENV_PATH/empty
ln -s $DOTFILES_PATH/common/empty-env $ENV_PATH/empty
# execute the user's shell # execute the user's shell
set ush (getent passwd (whoami) | cut -d: -f7) set ush (getent passwd (whoami) | cut -d: -f7)
echo "Dotfiles Installed! Don't forget to setup environments!" echo "Dotfiles Installed! Don't forget to setup environments!"

View file

View file

@ -59,6 +59,6 @@ end
# eval (zellij setup --generate-auto-start fish | string collect) # eval (zellij setup --generate-auto-start fish | string collect)
# end # end
if status is-interactive; and not set -q TMUX; and status --is-login; and not string match '/dev/tty*' (tty) if status is-interactive; and not set -q TMUX; and not status --is-login; and not string match '/dev/tty*' (tty)
tmux attach -t default || tmux new -s default tmux attach -t default || tmux new -s default
end end

View file

@ -95,4 +95,4 @@ bind A run-shell "#{@resurrect-save-script-path}"
bind L run-shell "#{@resurrect-restore-script-path}" bind L run-shell "#{@resurrect-restore-script-path}"
set -g @continuum-restore 'on' set -g @continuum-restore 'on'
set -g @continuum-save-interval '1' set -g @continuum-save-interval '120'