Consistent loading of files #4

Closed
mathiasbynens opened this Issue Mar 25, 2011 · 1 comment

Projects

None yet

2 participants

@mathiasbynens

Not really an issue, but I was wondering why you’re loading most files like this:

# Prompt
if [ -f ~/.bash_prompt ]; then
  source ~/.bash_prompt
fi

When for .commonrc it’s done this way:

# Common junk
[[ -s "$HOME/.commonrc" ]] && source "$HOME/.commonrc"

Wouldn’t the same technique as before work just as well?

@gf3 gf3 added a commit that closed this issue Aug 4, 2012
@gf3 Use consistent includes. Fixes #4 14915b3
@gf3 gf3 closed this in 14915b3 Aug 4, 2012
@stvleung stvleung added a commit that referenced this issue Aug 8, 2012
@stvleung stvleung Merge remote-tracking branch 'upstream/master'
* upstream/master: (30 commits)
  Add support for RVM. Fixes #12
  Use consistent includes. Fixes #4
  Fixes #9
  Fixed git-rank-contributers for ruby 1.9
  Add ..g alias to go to the top level of the current git repository
  Add ack.vim as submodule
  Remove ack.vim
  Remove taglist-plus.vim
  Add surround.vim as submodule
  Removed hardcoded surround.vim
  Updated stylus.vim
  Add snipmate.vim as submodule
  Removed hardcoded snipmate.vim
  Updated ruby.vim
  Add repeat.vim as submodule
  Removed hardcoded repeat.vim
  Updated rainbow_parenthesis.vim
  Add rails.vim as submodule
  Removed hardcoded rails.vim
  Updated racket.vim
  ...
208453b
@stvleung stvleung added a commit that referenced this issue Sep 12, 2012
@stvleung stvleung Merge remote-tracking branch 'origin/master' into linux
* origin/master: (33 commits)
  Remove unused markdown config
  Add indent-guides.vim
  Finally, a proper tmux config
  Add support for RVM. Fixes #12
  Use consistent includes. Fixes #4
  Fixes #9
  Fixed git-rank-contributers for ruby 1.9
  Add ..g alias to go to the top level of the current git repository
  Add ack.vim as submodule
  Remove ack.vim
  Remove taglist-plus.vim
  Add surround.vim as submodule
  Removed hardcoded surround.vim
  Updated stylus.vim
  Add snipmate.vim as submodule
  Removed hardcoded snipmate.vim
  Updated ruby.vim
  Add repeat.vim as submodule
  Removed hardcoded repeat.vim
  Updated rainbow_parenthesis.vim
  ...
541d263
@waeltken waeltken added a commit to waeltken/dotfiles that referenced this issue Oct 13, 2012
@waeltken waeltken Merge branch 'master' of https://github.com/gf3/dotfiles
* 'master' of https://github.com/gf3/dotfiles:
  Only set $TERM when not a dumb terminal
  Remove unused markdown config
  Add indent-guides.vim
  Finally, a proper tmux config
  Add support for RVM. Fixes #12
  Use consistent includes. Fixes #4
  Fixes #9
  Fixed git-rank-contributers for ruby 1.9
  Add ..g alias to go to the top level of the current git repository

Conflicts:
	.commonrc
5a3d66b
@damionvega damionvega pushed a commit that referenced this issue Oct 24, 2014
@gf3 Use consistent includes. Fixes #4 13bb48b
@damionvega damionvega added a commit that referenced this issue Oct 24, 2014
@gf3 Use consistent includes. Fixes #4 3f2a554
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment