Skip to content

Commit b8486c6

Browse files
committed
Source rbenvrc if it exists.
1 parent 79b5510 commit b8486c6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bashrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ alias ll='ls -l' # Long listed format for ls.
2727
alias vi='vim' # Improved vi.
2828
alias dr='screen -dr || screen' # Quickly resume a screen session or start one.
2929
alias grpe='grep' # Fix a common typo.
30+
alias utc='TZ=UTC date' # Time in UTC.
3031

3132
# Some things only work on Linux.
3233
if [ $OSTYPE == "linux-gnu" ]
@@ -41,5 +42,11 @@ else
4142
alias d='date +%Y-%m-%d' # Useful for backing up files. Example: cp hosts hosts.`d`
4243
fi
4344

45+
# rbenv
46+
if [ -e ~/.rbenvrc ]
47+
then
48+
. ~/.rbenvrc
49+
fi
50+
4451
# Increase nofile (max number of open files)
4552
ulimit -n 4096 2>/dev/null

0 commit comments

Comments
 (0)