forked from colonelpanic/dotfiles
Do some crazy stuff with OPTIND to unbreak getopts interoperation.
This commit is contained in:
@@ -119,7 +119,7 @@ function do_the_brew() {
|
||||
esac
|
||||
done
|
||||
echo "Installing the following packages:"
|
||||
for package_name in "${install_items[@]}"; do echo $package_name; done;
|
||||
for package_name in "${install_items[@]}"; do printf '\t%s\n' $package_name; done;
|
||||
brew update
|
||||
brew_install_items $install_items
|
||||
brew cleanup
|
||||
|
@@ -228,10 +228,10 @@ function ss() {
|
||||
}
|
||||
|
||||
function git_config_string() {
|
||||
git config -f $1 --list | xargs -I kv sh -c "echo \\\"kv\\\"" | xargs | tr '\n' ' '
|
||||
git config -f $1 --list | xargs -I kv printf '-c \"%s\" ' kv
|
||||
}
|
||||
|
||||
function brew_for_multiple_user() {
|
||||
function brew_for_multiple_users() {
|
||||
sudo chgrp -R admin /usr/local
|
||||
sudo chmod -R g+w /usr/local
|
||||
sudo chgrp -R admin /Library/Caches/Homebrew
|
||||
|
@@ -1,4 +1,5 @@
|
||||
function install_python_packages() {
|
||||
easy_install pip
|
||||
ESSENTIAL=(ipdb ipython virtualenv)
|
||||
FOR_EDITOR=(jedi pyflakes)
|
||||
USEFUL=(
|
||||
|
@@ -1,5 +1,3 @@
|
||||
function vimstall() {
|
||||
# This sucks, but BundleInstall fails otherwise.
|
||||
sudo chmod -R 775 $(readlink -f ~/.vim)
|
||||
vim +BundleInstall! +q +q
|
||||
}
|
||||
|
Reference in New Issue
Block a user