Skip to content

Commit

Permalink
Add support for local overrides
Browse files Browse the repository at this point in the history
This lets me avoid committing machine-specific or sensitive details.
  • Loading branch information
eugeneius committed Jun 29, 2014
1 parent 13dd961 commit f8ca663
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bash_aliases
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
alias be='bundle exec'

# Include local aliases
[[ -f ~/.bash_aliases.local ]] && source ~/.bash_aliases.local
3 changes: 3 additions & 0 deletions bashrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Include aliases
[[ -f ~/.bash_aliases ]] && source ~/.bash_aliases

# Include local config
[[ -f ~/.bashrc.local ]] && source ~/.bashrc.local
2 changes: 2 additions & 0 deletions gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
renames = true
[push]
default = current
[include]
path = ~/.gitconfig.local
5 changes: 5 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ set ruler

" Show the current editor mode on the last line of the window.
set showmode

" Include local config
if filereadable($HOME . "/.vimrc.local")
source ~/.vimrc.local
endif

0 comments on commit f8ca663

Please sign in to comment.