Skip to content

Instantly share code, notes, and snippets.

@narusemotoki
Last active January 6, 2017 05:42
Show Gist options
  • Save narusemotoki/9700852 to your computer and use it in GitHub Desktop.
Save narusemotoki/9700852 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd ~
echo "apt-getを使用するためにパスワードを入力"
sudo apt-get update
sudo apt-get install -y zsh
echo "シェルをzshに変更するためにパスワードを入力"
chsh -s /bin/zsh
sudo apt-get install -y chromium-browser indicator-multiload guake fonts-vlgothic ibus-mozc unity-tweak-tool compizconfig-settings-manager indicator-cpufreq
# ウィンドウ操作
sudo apt-get install -y wmctrl xwit
indicator-multiload &
indicator-cpufreq &
sudo apt-get install -y emacs24 emacs-mozc git byobu python-pip pyflakes bpython sqlite3 curl openssh-server
# pythonzでPythonをインストールしたときにSQlite3、SSLを使用できるようにするため
sudo apt-get install -y libsqlite3-dev libssl-dev libncurses5-dev
# Emacsで使ったり、全体で使ったり、プロジェクトに依存しないPythonパッケージ
sudo pip install virtualenv virtualenvwrapper epc jedi
# Pythonz
curl -kL https://raw.github.com/saghul/pythonz/master/pythonz-install | bash
# SSH
ssh-keygen -t rsa
echo "----------"
cat .ssh/id_rsa.pub
echo "----------"
# git cloneできるようにする
echo "GitHubに貼付け"
read INPUT
git clone [email protected]:narusemotoki/.emacs.d.git
git clone [email protected]:narusemotoki/dotfiles.git
bash dotfiles/setup.sh
sudo apt-get dist-upgrade -y
# キーバインドをEmacsにする
gsettings set org.gnome.desktop.interface gtk-key-theme Emacs
echo "再起動します"
read INPUT
sudo reboot
# guakeの自動起動
# bash -c 'sleep 5s; guake'
# CapsLkをCtrlにする
# /etc/default/keyboard to: XKBOPTIONS="ctrl:nocaps"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment