From 39d9d85c955765fa9109302ad016f6ddbb2b6e1e Mon Sep 17 00:00:00 2001 From: Cyryl Plotnicki-Chudyk Date: Sat, 29 Mar 2014 21:13:06 +0100 Subject: [PATCH] first attempt at installer script for Fedora --- .gitmodules | 3 +++ README.md | 4 ++++ gnome-terminal-colors-solarized | 1 + install_fedora.sh | 22 ++++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 160000 gnome-terminal-colors-solarized create mode 100755 install_fedora.sh diff --git a/.gitmodules b/.gitmodules index 77bbb5cd..1d9cdf25 100644 --- a/.gitmodules +++ b/.gitmodules @@ -29,3 +29,6 @@ [submodule ".oh-my-zsh"] path = .oh-my-zsh 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 diff --git a/README.md b/README.md index 42d8b68f..a44f6d98 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ My common dotfiles for Linux, Mac and Cygwin e.g. my vim, terminal and font configs. +install: +clone this repo +run install_fedora.sh on fedora, more systems coming soon + Fonts: [cyryl@dagrey ~]$ cd .local/share/ diff --git a/gnome-terminal-colors-solarized b/gnome-terminal-colors-solarized new file mode 160000 index 00000000..d9fcb57f --- /dev/null +++ b/gnome-terminal-colors-solarized @@ -0,0 +1 @@ +Subproject commit d9fcb57fff291682b93f44c1d1c0e310b9bfa566 diff --git a/install_fedora.sh b/install_fedora.sh new file mode 100755 index 00000000..26adfcbb --- /dev/null +++ b/install_fedora.sh @@ -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 +