-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
37 lines (31 loc) · 867 Bytes
/
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
# movement
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias rootdir='cd /var/www/html/'
alias ll='ls -1 -p'
# git
alias ga='git add'
alias gp='git push'
alias gl='git log'
alias gs='git status'
alias gd='git diff'
alias gm='git commit -m'
alias gcm='git commit'
alias gb='git branch'
alias gc='git checkout'
alias gpu='git pull'
# virtualenv
alias mkvenv='virtualenv venv'
alias von='source venv/bin/activate'
alias voff='deactivate'
# misc
alias chrome='open -a "Google Chrome"'
alias mysql='/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot'
alias start-selenium='java -jar /Applications/MAMP/htdocs/p212121/server-standalone-2.45.0.jar'
alias neo='~/neo4j-community-2.1.6/bin/neo4j'
# memcached
alias memstats='echo stats | nc 127.0.0.1 11211'
# color
PS1='\[\e[0;33m\]\h:\W \u\$\[\e[m\] '