From d66ecb33da5b4bd689aa34e2485ae608960c6dc7 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Tue, 31 Oct 2017 10:18:36 +0100 Subject: [PATCH] Remove local ruby and npm modules from PATH Global Ruby- and NPM packages are now installed to the default paths instead of customized paths to increase the overall compatibility and adapt to general conventions. GH-52 --- snowblocks/bash/config/env/igloo | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/snowblocks/bash/config/env/igloo b/snowblocks/bash/config/env/igloo index cc05347..a2f1f04 100644 --- a/snowblocks/bash/config/env/igloo +++ b/snowblocks/bash/config/env/igloo @@ -1,12 +1,12 @@ #!/usr/bin/env bash -# ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# title Igloo Environment + -# project igloo + -# repository https://github.com/arcticicestudio/igloo + -# author Arctic Ice Studio + -# email development@arcticicestudio.com + -# copyright Copyright (C) 2017 + -# ++++++++++++++++++++++++++++++++++++++++++++++++++++++ +# +++++++++++++++++++++++++++++++++++++++++++++++++++++ +# title Igloo Environment + +# project igloo + +# repository https://github.com/arcticicestudio/igloo + +# author Arctic Ice Studio + +# email development@arcticicestudio.com + +# copyright Copyright (C) 2017 + +# +++++++++++++++++++++++++++++++++++++++++++++++++++++ export LANG=en_US.UTF-8 export LC_MESSAGES=POSIX @@ -30,11 +30,9 @@ export PURPLEHOME=$STORE_RUN/pidgin if [ -e $(dirname $(realpath "${BASH_SOURCE[0]}"))/igloo.local ]; then . $(dirname $(realpath "${BASH_SOURCE[0]}"))/igloo.local else - unset -v GNUPGHOME + unset -v GNUPGHOME fi -PATH_RUBY_GEMS=($HOME/.gem/ruby/*/bin);PATH_RUBY_GEMS=$(printf "%s:" "${PATH_RUBY_GEMS[@]}") -PATH_NPM_PACKAGES=$STORE_RUN/npm/bin PATH_INTELLIJ_IDEA_U_HOME=/opt/intellij-idea-u/bin PATH_GIT_DIFF_HIGHLIGHT=/usr/share/git/diff-highlight -export PATH="${PATH}:$JAVA_HOME/bin:$PATH_NPM_PACKAGES:$PATH_RUBY_GEMS:$PATH_ANI2ICO:$PATH_INTELLIJ_IDEA_U_HOME:$PATH_GIT_DIFF_HIGHLIGHT" +export PATH="${PATH}:$JAVA_HOME/bin:$PATH_INTELLIJ_IDEA_U_HOME:$PATH_GIT_DIFF_HIGHLIGHT"