blob: d6c299695d9b91b0f4f2da8e0698432f851e15ed (
plain)
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
35
36
37
38
39
40
41
42
43
|
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
alias jblive='mpv rtmp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream 2> /dev/null &'
man() {
env LESS_TERMCAP_mb=$'\E[01;31m' \
LESS_TERMCAP_md=$'\E[01;38;5;74m' \
LESS_TERMCAP_me=$'\E[0m' \
LESS_TERMCAP_se=$'\E[0m' \
LESS_TERMCAP_so=$'\E[38;5;246m' \
LESS_TERMCAP_ue=$'\E[0m' \
LESS_TERMCAP_us=$'\E[04;38;5;146m' \
man "$@"
}
vim() {
if [[ -z $@ ]]; then
/usr/bin/vim
elif [[ -d $@ ]]; then
dir=$(pwd)
cd $@ && /usr/bin/vim && cd $dir
else
/usr/bin/vim $@
fi
}
export PS1='[\d][\t]\u on \h\n\w => '
export GOPATH="$HOME/programming/go"
export GEM_HOME="$(ruby -e 'print Gem.user_dir')/bin"
export PATH="$PATH:$GEM_HOME:$GOPATH/bin"
export EDITOR="vim"
export TERM="xterm-256color"
source liquidprompt
archey3
# vim: set ts=8 sw=8 tw=0 noet :
|