commit 5be0f54faa1e3fda58b340645d739527baad24e6
parent c58c9e937b9a253b38305ccb543339b2740ea24e
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 5 Oct 2020 14:23:09 +0200
shell: move rbenv init
Former-commit-id: 4912b10876e3040fbf1d8fcd899341a458002ee6
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/shell/env b/shell/env
@@ -1,6 +1,5 @@
#!/bin/sh
# vim: foldmethod=marker foldlevel=0
-command -v rbenv 1>/dev/null 2>&1 && eval "$(rbenv init -)"
export DOTFILES="$HOME/.dotfiles"
EDITOR="$(command -v vim)"; export EDITOR
export MUSIC_DIR="/Volumes/HDD/Music/iTunes/iTunes Media/Music"
diff --git a/shell/paths b/shell/paths
@@ -7,9 +7,9 @@
[ -d "/usr/local/sbin" -o -L "/usr/local/sbin" ] && [ -n "${PATH##*"/usr/local/sbin"*}" ] && PATH="/usr/local/sbin:$PATH"
[ -d "/usr/local/opt/coreutils/libexec/gnubin" -o -L "/usr/local/opt/coreutils/libexec/gnubin" ] && [ -n "${PATH##*"/usr/local/opt/coreutils/libexec/gnubin"*}" ] && PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
[ -d "$HOME/.local/gnat/bin" -o -L "$HOME/.local/gnat/bin" ] && [ -n "${PATH##*"$HOME/.local/gnat/bin"*}" ] && PATH="$HOME/.local/gnat/bin:$PATH"
-rubygemspath="$(ruby -e 'puts Gem.user_dir')/bin" && [ -n "${PATH##*"$rubygemspath"*}" ] && PATH="$rubygemspath:$PATH"
[ -d "$HOME/bin" -o -L "$HOME/bin" ] && [ -n "${PATH##*"$HOME/bin"*}" ] && PATH="$HOME/bin:$PATH"
[ -d "$HOME/.bin" -o -L "$HOME/.bin" ] && [ -n "${PATH##*"$HOME/.bin"*}" ] && PATH="$HOME/.bin:$PATH"
[ -d "$HOME/.scripts" -o -L "$HOME/.scripts" ] && [ -n "${PATH##*"$HOME/.scripts"*}" ] && PATH="$HOME/.scripts:$PATH"
[ -d "$HOME/.local/share/gems/bin" -o -L "$HOME/.local/share/gems/bin" ] && [ -n "${PATH##*"$HOME/.local/share/gems/bin"*}" ] && PATH="$HOME/.local/share/gems/bin:$PATH"
+command -v rbenv 1>/dev/null 2>&1 && eval "$(rbenv init -)"
export PATH