Fixed dof files reference and disabled non-working bash completion

pull/2/head
Bodaniel Jeanes 2010-06-26 11:27:40 +10:00
parent f6ef3a680a
commit 7f186c59c0
3 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ if [ $system_name = 'Darwin' ]; then
alias m='mate .' alias m='mate .'
alias et="m" alias et="m"
alias o='open .' alias o='open .'
alias eprof="mate ~/.dot-files" alias eprof="mate ~/.config"
alias hidefile='/usr/bin/SetFile -a "V"' alias hidefile='/usr/bin/SetFile -a "V"'
alias showfile='/usr/bin/SetFile -a "v"' alias showfile='/usr/bin/SetFile -a "v"'
alias startpg='sudo /Library/StartupItems/PostgreSQL/PostgreSQL start' alias startpg='sudo /Library/StartupItems/PostgreSQL/PostgreSQL start'

View File

@ -32,7 +32,7 @@
{ {
# These declarations must go within braces in order to be able to silence # These declarations must go within braces in order to be able to silence
# readonly variable errors. # readonly variable errors.
BASH_COMPLETION="${BASH_COMPLETION:-~/.dot-files/bash_completion}" # BASH_COMPLETION="${BASH_COMPLETION:-~/.config/bash/bash_completion}"
BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/etc/bash_completion.d}" BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/etc/bash_completion.d}"
} 2>/dev/null || : } 2>/dev/null || :
readonly BASH_COMPLETION BASH_COMPLETION_DIR readonly BASH_COMPLETION BASH_COMPLETION_DIR

View File

@ -12,8 +12,8 @@ fi
if [ -f /etc/bash_completion ]; then if [ -f /etc/bash_completion ]; then
. /etc/bash_completion . /etc/bash_completion
else # else
. $DOT_FILES/bash/bash_completion # . $DOT_FILES/bash/bash_completion
fi fi
# readline settings # readline settings