Skip to content

Commit

Permalink
Move path stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
fatso83 committed Jul 17, 2017
1 parent 1eab0b6 commit 6fc8fd6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 0 additions & 6 deletions common-setup/bashrc
Expand Up @@ -41,12 +41,6 @@ function timer_now(){
echo $diff
}

# include selfmade binaries and scripts
# Needed for some of the utility functions
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi

# For debugging info on timing
timer_start_if_unset

Expand Down
12 changes: 10 additions & 2 deletions common-setup/profile
Expand Up @@ -5,12 +5,20 @@ if [ -n "$BASH_VERSION" ]; then
fi
fi

#export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

# Ruby/RVM stuff
#export PATH="$PATH:$HOME/.rvm/bin"
#[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

if [ "$0" = "/usr/sbin/lightdm-session" -a "$DESKTOP_SESSION" = "i3" ]; then
export $(gnome-keyring-daemon --start --components=ssh)
fi


# include selfmade binaries and scripts
# Needed for some of the utility functions
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi

# Add Rust stuff
export PATH="$HOME/.cargo/bin:$PATH"

0 comments on commit 6fc8fd6

Please sign in to comment.