Skip to content

Commit

Permalink
Some more stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Nov 21, 2014
1 parent 6e3f915 commit ffcf01d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions home/.zshrc.sh
Expand Up @@ -70,9 +70,11 @@ alias g='git'
alias ga='git add'
alias gr='git rm'

alias gf='git fetch'
alias gu='git pull'
alias gup='git pull && git push'
alias gf='git fetch origin'
alias gu='git pull origin'
alias gup='git pull origin && git push origin'
alias ghu='git pull hy master'
alias ghp='git push hy master'

alias gs='git status --short'
alias gd='git diff'
Expand Down Expand Up @@ -121,6 +123,9 @@ alias nibi='npm install && bower install'
alias jk='jekyll serve --watch' # lol jk
alias serve='python -m SimpleHTTPServer'

# Ruby.
alias bex='bundle exec'

# Nginx short-cuts.
alias ngup='sudo nginx'
alias ngdown='sudo nginx -s stop'
Expand All @@ -129,7 +134,7 @@ alias nglog='tail -f /usr/local/var/log/nginx/access.log'
alias ngerr='tail -f /usr/local/var/log/nginx/error.log'

# Checks whether connection is up.
alias net='ping ya.ru'
alias net="ping ya.ru | grep -E --only-match --color=never '[0-9\.]+ ms'"

# Pretty print json
alias json='python -m json.tool'
Expand Down

0 comments on commit ffcf01d

Please sign in to comment.