-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.bashrc
More file actions
47 lines (27 loc) · 701 Bytes
/
.bashrc
File metadata and controls
47 lines (27 loc) · 701 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
47
### PERMISSIONS ###
umask 0022
### ALIASES ###
export CLICOLOR=1
export LSCOLORS=Exfxcxdxbxegedabagacad
alias ls="ls -hAF --color=auto"
alias ll="ls -l"
alias lt="ll -rt"
alias ..="cd ../"
alias ...="cd ../.."
alias ....="cd ../../../"
alias .....="cd ../../../../"
alias rl="readlink -e"
alias grep="grep --color=auto"
alias cw='chmod +w '
alias ssh="ssh -X"
alias procs="ps -elf -U $USER"
alias rmcolor='sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"'
### Misc ###
export LOCALE=en_US.UTF-8
export EDITOR=vim
### PS1 (Config for terminal prompt) ###
PS1='\[\033[0;32m\]\u@\h \[\033[33m\]\w\[\033[0m\] '
### Local
if [ -f ~/.bashrc_local ]; then
source ~/.bashrc_local
fi