-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc
More file actions
52 lines (42 loc) · 1.32 KB
/
bashrc
File metadata and controls
52 lines (42 loc) · 1.32 KB
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
48
49
50
51
52
export SUADE_DEBUG=1
export EDITOR=vim
# Colors!
# \u = 'username'
# \h = 'hostname'
# \n = 'newline'
color1='\e[1;30m'
color2='\e[1;31m'
color3='\e[0;32m'
color4='\e[5;33m'
color5='\e[0;34m'
color6='\e[0;35m'
endcolor='\e[m'
function EXT_COLOR () { echo -ne "\[\033[1;38;5;$1m\]"; }
source ~/.git-prompt.sh
# Display welcome message
echo -e "Hey ${color1}$USER${endcolor}, what's up? \n"
# Git shit
test -f ~/.git-prompt.sh
export PS1="\n${color2}\u${endcolor} at ${color2}\h ${endcolor}: ${color3}\w${endcolor} ${color4}...${endcolor} ${color6}\$(__git_ps1)${endcolor}\n\$ "
test -f ~/.git-completion.bash && . $_
# Folder colors
alias ls='ls --color=auto'
LS_COLORS='di=32:ex=4:*.py=1;31:*.pyc=31:*.json=95:*.yaml=95:*.yml=95:*.md=1;30:*.html=35:*.xml=94:*.css=34:*.ttf=34:*.woff=34:*.js=33:*.png=37:*.jpg=36:*.gif=37:*.svg=38:*.pdf=34'
export LS_COLORS
# Aliases
alias cdd='cd ~/downloads'
alias sub='subl'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias ls='ls -alvh --color'
alias gits='git status'
alias gitsubs='git submodule foreach git'
alias wifi='sudo service network-manager'
alias wifi_list='nmcli dev wifi list'
alias dropbox='~/.dropbox-dist/dropboxd'
alias vault='/usr/local/vault/vault'
alias gitdog='git log --all --decorate --oneline --graph'
test-microphone() {
arecord -vvv -f dat /dev/null
}