Block settings for non-development roles

main
Buddy Sandidge 2 years ago
parent def01bdb01
commit eabc6cd190

@ -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 }}

@ -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 }}
Loading…
Cancel
Save