Compare commits

...

2 commits

2 changed files with 11 additions and 11 deletions

View file

@ -25,7 +25,7 @@ gc https://github.com/chriskempson/base16-xresources base16-xresources
gc https://github.com/chriskempson/base16-vim base16-vim
gc https://github.com/chriskempson/base16-iterm2 base16-iterm2
gc https://github.com/longld/peda peda
gc https://github.com/stv0g/dotfiles dotfiles
gc https://git.0l.de/stv0g/dotfiles.git dotfiles
if [[ "$OSTYPE" == "darwin"* ]]; then
sudo gc http://git.kernel.org/pub/scm/docs/man-pages/man-pages /opt/man-pages

View file

@ -30,14 +30,14 @@ if type ykman > /dev/null 2>&1; then
_ykman_completionetup;
fi
HOMEBREW_PREFIX=$(brew --prefix)
if type brew &>/dev/null; then
for COMPLETION in "$HOMEBREW_PREFIX"/etc/bash_completion.d/*
do
[[ -f $COMPLETION ]] && source "$COMPLETION"
done
if [[ -f ${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh ]];
then
source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh"
fi
if command -v brew; then
HOMEBREW_PREFIX=$(brew --prefix)
if type brew &>/dev/null; then
for COMPLETION in "$HOMEBREW_PREFIX"/etc/bash_completion.d/*; do
[[ -f $COMPLETION ]] && source "$COMPLETION"
done
if [[ -f ${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh ]]; then
source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh"
fi
fi
fi