Add empty env
This commit is contained in:
parent
31eb562a5d
commit
09a87af9ce
4 changed files with 5 additions and 2 deletions
|
@ -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!"
|
||||||
|
|
0
common/empty-env/tmux.d.conf
Normal file
0
common/empty-env/tmux.d.conf
Normal 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
|
|
@ -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'
|
||||||
|
|
Reference in a new issue