Skip to content

Commit

Permalink
Remove local ruby and npm modules from PATH
Browse files Browse the repository at this point in the history
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
  • Loading branch information
arcticicestudio committed Oct 31, 2017
1 parent e940c24 commit d66ecb3
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions snowblocks/bash/config/env/igloo
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env bash
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
# title Igloo Environment +
# project igloo +
# repository https://github.com/arcticicestudio/igloo +
# author Arctic Ice Studio +
# email [email protected] +
# copyright Copyright (C) 2017 +
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
# +++++++++++++++++++++++++++++++++++++++++++++++++++++
# title Igloo Environment +
# project igloo +
# repository https://github.com/arcticicestudio/igloo +
# author Arctic Ice Studio +
# email [email protected] +
# copyright Copyright (C) 2017 +
# +++++++++++++++++++++++++++++++++++++++++++++++++++++
export LANG=en_US.UTF-8
export LC_MESSAGES=POSIX

Expand All @@ -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"

0 comments on commit d66ecb3

Please sign in to comment.