-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc
34 lines (28 loc) · 888 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
31
32
33
34
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
PATH=/usr/local/share/python:$PATH
launchctl setenv PATH $PATH
EDITOR=vim; export EDITOR
VISUAL=vim; export VISUAL
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
alias mv="gmv"
alias rm="grm -I"
alias ls="gls --color=auto"
alias l="ls -F"
alias la="l -A"
alias ll="l -lh"
alias lla="ll -A"
alias x="clear"
alias s="sudo "
alias cd..="cd .."
alias ..="cd .."
alias ...="cd ..."
alias mkdir="mkdir -pv"
eval "$(fasd --init auto)"
alias v="f -e vim"
alias o="a -e open"
alias rainbow="xxd -ps -c $(expr $(tput cols) / 2) /dev/zero | sed s/0/█/g | lolcat"
alias sl="ls"
PROMPT_COMMAND="history 1 | sed 's/[^0-9]*\([0-9]*\).*/\1/' > ~/.hist_tmp"
shopt -s histappend
. /usr/local/lib/python2.7/site-packages/powerline/bindings/bash/powerline.sh
. ~/.profile