Skip to content

Commit

Permalink
bash/{bashrc,profile}: Return true.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwinter committed Mar 18, 2013
1 parent 75c0020 commit 56e8916
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions bash/bashrc
Expand Up @@ -58,7 +58,7 @@ MY_COLOR=35 # default

# Customized user setting
# E.g.: MY_COLOR=3$(date +%u) ;-)
[ -f ~/.my_color ] && . ~/.my_color
[ -f "$HOME/.my_color" ] && . "$HOME/.my_color"

export MY_COLOR

Expand Down Expand Up @@ -117,7 +117,7 @@ esac

# Alias definitions.
[ -f /etc/bash_aliases ] && . /etc/bash_aliases
[ -f ~/.bash_aliases ] && . ~/.bash_aliases
[ -f "$HOME/.bash_aliases" ] && . "$HOME/.bash_aliases"

# Color for grep
export GREP_COLOR=${MY_COLOR/38/39}
Expand All @@ -127,7 +127,7 @@ export CDPATH="$CDPATH:$HOME"

# SCM stuff
function __no_scm_info() { function __scm_info() { :; }; }
[ -f ~/.bash_scm_info ] && . ~/.bash_scm_info || __no_scm_info
[ -f "$HOME/.bash_scm_info" ] && . "$HOME/.bash_scm_info" || __no_scm_info

### LOAD CUSTOM FILE
[ -f ~/.bashrc.mine ] && . ~/.bashrc.mine
[ -f "$HOME/.bashrc.mine" ] && . "$HOME/.bashrc.mine" || true
2 changes: 1 addition & 1 deletion bash/profile
Expand Up @@ -21,4 +21,4 @@ export PATH
umask 022

### LOAD CUSTOM FILE
[ -f ~/.profile.mine ] && . ~/.profile.mine
[ -f "$HOME/.profile.mine" ] && . "$HOME/.profile.mine" || true

0 comments on commit 56e8916

Please sign in to comment.