-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
executable file
·48 lines (36 loc) · 1.13 KB
/
.bash_profile
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
# Navigation
# -------------------
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias c="clear"
# List all files colorized in long format
alias l="ls -l ${colorflag}"
# List all files colorized in long format, including dot files
alias la="ls -la ${colorflag}"
# List only directories
alias lsd='ls -l | grep "^d"'
# NPM
alias nu="npm update"
alias npv="npm outdated"
# ------------------------------------------------------------------------------
# | Development (based on my workflow) |
# ------------------------------------------------------------------------------
# Daily stuff
alias dl="cd ~/Downloads"
alias t="cd ~/temp"
alias ws="cd ~/Workspace"
alias h="history"
alias o="open ."
alias nh="node --harmony"
# Search
alias howto="open http://stackoverflow.com/search?q= "
# Apache
# Moved some alias to apache() function
alias httpd="sudo nano -w /etc/apache2/httpd.conf"
alias vhost="sudo nano -w /etc/apache2/extra/httpd-vhosts.conf"
#Server Python
alias pyserver="python -m SimpleHTTPServer 9001"
# Reload Bashrc
alias relaod="source ~/.zshrc"