Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove local Ruby and NPM modules from PATH #56

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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

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"