-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
46 lines (38 loc) · 915 Bytes
/
.bashrc
File metadata and controls
46 lines (38 loc) · 915 Bytes
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
44
45
46
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
alias ll='ls --color=auto -al'
alias cal3='cal -n 3'
alias xcp='xclip -selection clipboard'
alias libido='luit -encoding big5 telnet libido.cx'
# PS1='[\u@\h \W]\n\$ '
PS1='[\u@\h \W]\$ '
export VISUAL="vim"
export EDITOR="vim"
if [ -d $HOME/bin ]; then
export PATH=$PATH:$HOME/bin
fi
rg() {
if [ -z "$RANGER_LEVEL" ]
then
ranger
else
exit
fi
}
eval $(thefuck --alias)
fortune | cowthink
# vte fix for terminix
if [ $TERMINIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
POWERLINE_REPO=$(pip show powerline-status | egrep Location | awk '{print $2}')/powerline
. $POWERLINE_REPO/bindings/bash/powerline.sh
fi