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:
3
.bashrc
3
.bashrc
@@ -73,3 +73,6 @@ alias wiki='vim -c VimwikiIndex -c "cd %:p:h" -c "silent Git pull"'
|
|||||||
|
|
||||||
# Enable autocompletion for "config" to manage dotfiles
|
# Enable autocompletion for "config" to manage dotfiles
|
||||||
__git_complete config __git_main
|
__git_complete config __git_main
|
||||||
|
|
||||||
|
[ -s "$XDG_CONFIG_HOME/bash/local-config" ] && . "$XDG_CONFIG_HOME/bash/local-config"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user