diff --git a/dot_config/bash/bashrc.d/base.sh.tmpl b/dot_config/bash/bashrc.d/base.sh.tmpl index dacd4e8..faadaa8 100644 --- a/dot_config/bash/bashrc.d/base.sh.tmpl +++ b/dot_config/bash/bashrc.d/base.sh.tmpl @@ -33,8 +33,10 @@ if test -r ~/.dircolors; then fi #{{- end }} +#{{ if .development -}} if [[ -d "${XDG_DATA_HOME}/JetBrains/Toolbox/scripts" ]]; then if [[ ":${PATH}:" != *":${XDG_DATA_HOME}/JetBrains/Toolbox/scripts:"* ]]; then export PATH="${PATH}:${XDG_DATA_HOME}/JetBrains/Toolbox/scripts" fi fi +#{{- end }} diff --git a/dot_config/vim/plug.d/vim-fancy.vim b/dot_config/vim/plug.d/vim-fancy.vim.tmpl similarity index 91% rename from dot_config/vim/plug.d/vim-fancy.vim rename to dot_config/vim/plug.d/vim-fancy.vim.tmpl index 82e5f81..849e9d1 100644 --- a/dot_config/vim/plug.d/vim-fancy.vim +++ b/dot_config/vim/plug.d/vim-fancy.vim.tmpl @@ -1,6 +1,9 @@ +" chezmoi:template:left-delimiter="{{ +"{{- /* vim: set filetype=vim: */ -}} Plug 'SirVer/ultisnips', { 'tag': '3.2' } let g:UltiSnipsSnippetDirectories = [ 'UltiSnips', 'snips' ] +"{{ if .development -}} Plug 'lifepillar/pgsql.vim', { 'for': [ 'sql' ] } let g:sql_type_default = 'pgsql' @@ -61,3 +64,4 @@ Plug 'prettier/vim-prettier', { \ 'yaml' \ ] \ } +"{{- end }}