[feat] add tmux shell autostart option
This commit is contained in:
parent
282b32e7ad
commit
f220a40935
@ -25,6 +25,10 @@
|
||||
{{- $installGo := promptBool "installGo" true -}}
|
||||
{{- $installNode := promptBool "installNode" true -}}
|
||||
{{- $installRust := promptBool "installRust" true -}}
|
||||
{{- $enableTmux := promptBool "enableTmux" true -}}
|
||||
|
||||
[data.shell]
|
||||
tmux = {{ $enableTmux }}
|
||||
|
||||
[data.gitconfig]
|
||||
email = {{ $email | quote }}
|
||||
|
@ -1,6 +1,9 @@
|
||||
{{ if .shell.tmux }}
|
||||
export ZSH_TMUX_AUTOSTART=true
|
||||
export ZSH_TMUX_AUTOSTART_ONCE=true
|
||||
export ZSH_TMUX_AUTOCONNECT=true
|
||||
{{ end }}
|
||||
|
||||
# install zinit
|
||||
# git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin
|
||||
source ~/.zinit/bin/zinit.zsh
|
Loading…
Reference in New Issue
Block a user