commit 68fa0dac6ef7a269b0d41dd97e9724ae30e87697
parent 7a7c57af667122f4fe9ad647bcaf2d27df0d5641
Author: Alex Balgavy <alexander.balgavy@spaceapplications.com>
Date: Mon, 20 Nov 2023 18:32:50 +0100
paths: add paths
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/shell/paths b/shell/paths
@@ -26,7 +26,11 @@
[ -d "/usr/local/opt/ruby/bin" ] || [ -L "/usr/local/opt/ruby/bin" ] && [ -n "${PATH##*"/usr/local/opt/ruby/bin"*}" ] && PATH="/usr/local/opt/ruby/bin:$PATH"
[ -d "$PYENV_ROOT/bin" ] && [ -n "${PATH##*"$PYENV_ROOT/bin"*}" ] && PATH="$PYENV_ROOT/bin:$PATH"
[ -d "/usr/local/opt/sqlite" ] && [ -n "${PATH##*"/usr/local/opt/sqlite/bin"*}" ] && PATH="/usr/local/opt/sqlite/bin:$PATH"
+[ -d "$HOME/.rvm/bin" ] && [ -n "${PATH##*"$HOME/.rvm/bin"*}" ] && PATH="$HOME/.rvm/bin:$PATH"
+[ -d "$HOME/.local/share/gem/bin" ] && [ -n "${PATH##*"$HOME/.local/share/gem/bin"*}" ] && PATH="$HOME/.local/share/gem/bin:$PATH"
command -v rbenv 1>/dev/null 2>&1 && eval "$(rbenv init -)"
command -v jenv 1>/dev/null 2>&1 && eval "$(jenv init -)"
command -v pyenv >/dev/null 2>&1 && eval "$(pyenv init -)"
+command -v jira >/dev/null 2>&1 && eval "$(jira --completion-script-zsh)"
+[ -f "$HOME/.rvm/scripts/rvm" ] && . "$HOME/.rvm/scripts/rvm"
export PATH