-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
47 lines (40 loc) · 1.07 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
# Add vim as default editor
export EDITOR=vim
export TERMINAL=lxterminal
export BROWSER=firefox
export PATH=$HOME/bin:$PATH
# Gtk themes
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
# Alias
alias ls='ls --color=auto'
alias l='ls -la'
alias la='ls -a'
alias ll='ls -l'
alias '..'='cd ..'
alias grep='grep --color=auto'
alias df='df -h'
alias du='du -c -h'
alias mkdir='mkdir -p -v'
alias more='less'
alias ping='ping -c 3'
alias dodo='systemctl halt'
alias hist='history | grep'
alias svim='sudo vim'
alias fork='$TERMINAL &' #open another terminal in the same repository. So fcking useful
# enable z
. ~/src/z/z.sh
# enable autoproxy UTC
# (Goodbye compiegne)
#. ~/workspace/autoProxy/autoProxy.sh
# enable bash completion
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
# Prompt
source ~/src/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
export GIT_PS1_SHOWUNTRACKEDFILES=1
export GIT_PS1_SHOWCOLORHINTS=1
export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[01;33m\]$(__git_ps1)\[\033[01;34m\] \$\[\033[00m\] '
# Arch logo display on start
[ ! "$UID" = "0" ] && archbey2