pull/287/merge
cceleri 2014-04-24 00:10:12 +00:00
commit 2b3cafeb4d
3 changed files with 8 additions and 7 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@ custom/*
!custom/example.bash
.rvmrc
aliases/custom.aliases.bash
completion/custom.completion.bash
lib/custom.bash
plugins/custom.plugins.bash
*.swp

View File

@ -16,6 +16,7 @@ alias f='open -a Finder '
alias fh='open -a Finder .'
alias textedit='open -a TextEdit'
alias hex='open -a "Hex Fiend"'
alias skpye='open -a Skype'
if [ -s /usr/bin/firefox ] ; then
unalias firefox

View File

@ -38,17 +38,16 @@ do
source $config_file
done
# Load enabled aliases, completion, plugins
# Load enabled and custom aliases, completion, plugins
for file_type in "aliases" "completion" "plugins"
do
_load_bash_it_files $file_type
done
# Load any custom aliases that the user has added
if [ -e "${BASH_IT}/aliases/custom.aliases.bash" ]
then
source "${BASH_IT}/aliases/custom.aliases.bash"
fi
if [ -e "${BASH_IT}/${file_type}/custom.${file_type}.bash" ]
then
source "${BASH_IT}/${file_type}/custom.${file_type}.bash"
fi
done
# Custom
CUSTOM="${BASH_IT}/custom/*.bash"