mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-25 06:56:32 +00:00
32 lines
825 B
Bash
32 lines
825 B
Bash
#! /bin/bash
|
|
|
|
sudo_package_update
|
|
sudo_package 'screen tmux htop curl wget mercurial ctags tig pv jq'
|
|
|
|
# Manager specific packages
|
|
case "$PACKAGE_MANAGER" in
|
|
"port")
|
|
sudo_package 'vim +ruby +python27'
|
|
sudo_package 'macvim +ruby +python27'
|
|
sudo_package 'git-core +bash_completion'
|
|
sudo_package 'the_silver_searcher'
|
|
;;
|
|
"brew")
|
|
package 'vim'
|
|
package 'the_silver_searcher'
|
|
;;
|
|
"apt-get")
|
|
if [ -n "$(apt-cache policy silversearcher-ag)" ] ; then
|
|
sudo_package 'silversearcher-ag'
|
|
fi
|
|
sudo_package 'build-essential bash-completion vim'
|
|
;;
|
|
esac
|
|
|
|
# Install ruby gems
|
|
# TODO: Install RVM and other ruby requirements and get ruby 1.9.2
|
|
sudo gem install rake
|
|
|
|
# install python packages
|
|
sudo pip install ipython flake8
|