first attempt at installer script for Fedora

This commit is contained in:
Cyryl Plotnicki-Chudyk 2014-03-29 21:13:06 +01:00
parent a93c3a833e
commit 39d9d85c95
4 changed files with 30 additions and 0 deletions

3
.gitmodules vendored
View file

@ -29,3 +29,6 @@
[submodule ".oh-my-zsh"] [submodule ".oh-my-zsh"]
path = .oh-my-zsh path = .oh-my-zsh
url = git://github.com/robbyrussell/oh-my-zsh.git url = git://github.com/robbyrussell/oh-my-zsh.git
[submodule "gnome-terminal-colors-solarized"]
path = gnome-terminal-colors-solarized
url = https://github.com/sigurdga/gnome-terminal-colors-solarized

View file

@ -2,6 +2,10 @@ My common dotfiles for Linux, Mac and Cygwin
e.g. my vim, terminal and font configs. e.g. my vim, terminal and font configs.
install:
clone this repo
run install_fedora.sh on fedora, more systems coming soon
Fonts: Fonts:
[cyryl@dagrey ~]$ cd .local/share/ [cyryl@dagrey ~]$ cd .local/share/

@ -0,0 +1 @@
Subproject commit d9fcb57fff291682b93f44c1d1c0e310b9bfa566

22
install_fedora.sh Executable file
View file

@ -0,0 +1,22 @@
#!/bin/bash
#software and shell
sudo yum install vim tmux atop zsh
chsh -s /bin/zsh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
#symbolic links
ln -s "$DIR/.vim" ~/.
ln -s "$DIR/.vimrc" ~/.
ln -s "$DIR/.zshrc" ~/.
ln -s "$DIR/.oh-my-zsh" ~/.
ln -s "$DIR/.gitconfig.linux.private" ~/.gitconfig
ln -s "$DIR/tools" ~/
cd $DIR
git submodule init
git submodule update
$DIR/gnome-terminal-colors-solarized/install.sh