Skip to content

Instantly share code, notes, and snippets.

@lemonjp
Last active August 29, 2015 14:12
Show Gist options
  • Save lemonjp/a340955a6fc2af3ec418 to your computer and use it in GitHub Desktop.
Save lemonjp/a340955a6fc2af3ec418 to your computer and use it in GitHub Desktop.
ubuntu startup shell script
#!/bin/bash
echo "set up locale"
sudo locale-gen ja_JP.UTF-8
echo "make bash pronpt shorter"
mv ~/.bashrc ~/.bashrc.dist
sed -e 's/\\u@\\h:\\w/\\u@\\h:\\W/g' ~/.bashrc.dist > ~/.bashrc
echo "dotfile install"
git clone https://github.com/lemonjp/dotfiles.git
sh -x ./dotfiles/setup.sh
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
vim +BundleInstall +qall
echo "set up vim env"
cd .vim/bundle/vimproc/
make -f make_unix.mak
cd ~/.vim/bundle/nerdtree/nerdtree_plugin
wget https://gist.github.com/lemonjp/2558f5cc63bcd347024b/raw/9e4f07818da3e9f98797710a9e78fd0d08ad79dc/grep_menuitem.vim
git config --global user.email [email protected]
git config --global user.name lemonjp
echo "done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment