-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc
30 lines (21 loc) · 987 Bytes
/
bashrc
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
export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] "
alias ls='ls -G'
alias ll='ls -la'
alias glog='git log --color --graph --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset'\'' --abbrev-commit'
if [ -f `brew --prefix`/etc/bash_completion.d/git-completion.bash ]; then
. `brew --prefix`/etc/bash_completion.d/git-completion.bash
fi
export PATH="$HOME/.rbenv/shims:$PATH:$HOME/dotfiles/bin"
export LESS="-Mr"
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
if [[ "$OSTYPE" == "darwin"* ]]; then
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
else
alias ls='ls --color'
LS_COLORS='di=1:fi=0:ln=31:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:*.rpm=90'
export LS_COLORS
fi
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion