-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshenv
34 lines (25 loc) · 1.04 KB
/
zshenv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Start configuration added by Zim install {{{
#
# User configuration sourced by all invocations of the shell
#
# Define Zim location
: ${ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim}
# }}} End configuration added by Zim install
# better put some respect on yo name
echo "BEHOLD! $USER has logged in at $(hostname)"
# Not 100% sure what this achieves but I think it was here by default so I'm not messing with it.
export PATH=/bin:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$PATH
export PATH=/usr/local/bin:$PATH
# Path for flutter
test -d /usr/local/bin && export PATH="$PATH:~/dev/flutter/bin"
# Path for Heroku
test -d /usr/local/heroku/ && export PATH="/usr/local/heroku/bin:$PATH"
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
# set default text editor
export EDITOR='code -w'
# Rbenv autocomplete and shims
if which rbenv >/dev/null; then eval "$(rbenv init -)"; fi
# Path for RBENV
test -d $HOME/.rbenv/ && PATH="$HOME/.rbenv/bin:$PATH"
export PATH="/usr/local/opt/ruby/bin:$PATH"