Add possibility to configure local settings

Sometimes I have sensitive and system-specific configurations for bash
which I want to save. This change is a quick solution to enable this.

Maybe another solution involves a setup with encrypted secrets like
ansible handles secrets. I should evaluate such a solution in future.
This commit is contained in:
2022-08-08 11:22:17 +02:00
parent 072047eecf
commit 008d103785

View File

@@ -73,3 +73,6 @@ alias wiki='vim -c VimwikiIndex -c "cd %:p:h" -c "silent Git pull"'
# Enable autocompletion for "config" to manage dotfiles
__git_complete config __git_main
[ -s "$XDG_CONFIG_HOME/bash/local-config" ] && . "$XDG_CONFIG_HOME/bash/local-config"