Rename install scripts, add ubuntu install script
This commit is contained in:
parent
4babe03620
commit
e4e446f324
11
README.md
11
README.md
|
@ -2,11 +2,18 @@
|
|||
|
||||
The magicks!
|
||||
|
||||
./install-deps.sh
|
||||
## Installation
|
||||
### Mac
|
||||
|
||||
./installdeps-mac.sh
|
||||
./osx
|
||||
./brew
|
||||
./rvm
|
||||
|
||||
And if you want vim too:
|
||||
### Ubuntu
|
||||
|
||||
./installdeps-ubuntu.sh
|
||||
|
||||
## And if you want vim...
|
||||
|
||||
sh <(curl https://raw.github.com/hlissner/mlvim/master/install.sh -L)
|
||||
|
|
1
install-deps.sh → installdeps-mac.sh
Normal file → Executable file
1
install-deps.sh → installdeps-mac.sh
Normal file → Executable file
|
@ -16,5 +16,6 @@ curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh |
|
|||
src=$(cd "$(dirname "$0")"; pwd)
|
||||
|
||||
ln -sf $src/zshrc ~/.zshrc
|
||||
ln -sf $src/zsh ~/.zsh
|
||||
ln -sf $src/gitignore ~/.gitignore
|
||||
ln -sf $src/gitconfig ~/.gitconfig
|
18
installdeps-ubuntu.sh
Executable file
18
installdeps-ubuntu.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install zsh git curl
|
||||
|
||||
# Install oh-my-zsh
|
||||
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
|
||||
|
||||
# Change shell
|
||||
chsh -s /bin/zsh
|
||||
|
||||
# Create links
|
||||
src=$(cd "$(dirname "$0")"; pwd)
|
||||
|
||||
ln -sf $src/zshrc ~/.zshrc
|
||||
ln -sf $src/zsh ~/.zsh
|
||||
ln -sf $src/gitignore ~/.gitignore
|
||||
ln -sf $src/gitconfig ~/.gitconfig
|
Loading…
Reference in a new issue