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