From 8c302e5ffc05aa2621c498e3a44180bab0430304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Sun, 10 Apr 2016 19:38:38 +0200 Subject: [PATCH] excercism added --- .zshrc | 5 ++++- common/configure_fresh_system | 9 ++++++++- fedora/configure_fresh_system | 2 +- travis/configure_fresh_system | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index 58803d45..34054fb4 100644 --- a/.zshrc +++ b/.zshrc @@ -46,8 +46,10 @@ else fi # env vars +export GOPATH=~/go PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting export PATH=$HOME/tools:$PATH +export PATH=$HOME/$GOPATH/bin:$PATH export PATH=$HOME/.local/bin:$PATH export PATH=/usr/local/heroku/bin:$PATH export PATH=$HOME/tools/subuser/logic:$HOME/.subuser/bin:$PATH @@ -55,7 +57,8 @@ export PATH=$HOME/dev/dotfiles/.vim/bundle/racer/target/debug:$PATH export RUST_SRC_PATH=$HOME/dev/rust/src export EDITOR="vim" export KEYTIMEOUT=1 - +# #temporary fix for rustc [https://github.com/rust-lang/rust-installer/issues/30], for Fedora only export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib + diff --git a/common/configure_fresh_system b/common/configure_fresh_system index 26eaef06..cc93045e 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -84,13 +84,20 @@ else git pull fi -#rvm +# rvm gpg --recv-keys BF04FF17 gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 curl -sSL https://get.rvm.io | bash -s stable source $HOME/.rvm/scripts/rvm rvm install ruby +# go +export GOPATH="$HOME/go" +mkdir -p "$GOPATH" + +# excercism +go get -u github.com/exercism/cli/exercism + # talks: reveal-md sudo npm install -g reveal-md sudo npm install -g diff-so-fancy diff --git a/fedora/configure_fresh_system b/fedora/configure_fresh_system index 49c1387b..7ffd1acc 100755 --- a/fedora/configure_fresh_system +++ b/fedora/configure_fresh_system @@ -6,7 +6,7 @@ sudo dnf -y --best --allowerasing install vim tmux atop zsh thunderbird thunderb FEDORA_VERSION=`rpm -E %fedora` sudo dnf -y install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$FEDORA_VERSION.noarch.rpm sudo dnf -y install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$FEDORA_VERSION.noarch.rpm -sudo dnf -y install vlc splix gutenprint-cups cups-bjnp keepass mplayer +sudo dnf -y install vlc splix gutenprint-cups cups-bjnp keepass mplayer golang sudo dnf -y groupinstall "C Development Tools and Libraries" sudo systemctl enable tor diff --git a/travis/configure_fresh_system b/travis/configure_fresh_system index 7253b208..3d40f166 100755 --- a/travis/configure_fresh_system +++ b/travis/configure_fresh_system @@ -6,7 +6,7 @@ COMMAND_PREFIX="DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=\"- curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash sudo apt-get update -INSTALL_COMMAND="sudo $COMMAND_PREFIX install meld whois zsh tmux vim atop aria2 curl pv gajim tor torsocks nodejs terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra aptitude p7zip-full p7zip-rar thunderbird mercurial kdiff3 gnupg2 python3-setuptools realpath python3-dev python3 apt-file" +INSTALL_COMMAND="sudo $COMMAND_PREFIX install meld whois zsh tmux vim atop aria2 curl pv gajim tor torsocks nodejs terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra aptitude p7zip-full p7zip-rar thunderbird mercurial kdiff3 gnupg2 python3-setuptools realpath python3-dev python3 apt-file golang" eval ${INSTALL_COMMAND} DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"