This page has been deleted, most likely because it does not belong on the snippets wiki.
View Source | Edit Page

Creator: MichaelWClarkMichaelWClark


Aliases Shell Script.
Put into .bashrc, .zshrc, or any other startup file for your shell.


# Helper alias scripts

# add utility code to path 

# ------ LXC Helpers ------ #
alias lxcreboot='/adm/code/utility/lxc-restart.SH'
alias lxr='lxcreboot'

# ------ Github ------ #
alias gs='git status' 
alias gpo='git push origin'
alias git_current_branch='git rev-parse --abbrev-ref HEAD;'
alias gcb='$git_current_branch'
alias cb='$git_current_branch'
alias gcs='git rev-parse --sq HEAD@{now}'
alias gc='git commit -a -m '

# ------ Shortcuts ------ #
alias adm='cd /adm'
alias dp='cd /web/dp'
alias in='cd /web/in'
alias out='cd /web/out'
alias outd='cd /web/outd'

In action

link to the implemented solution on a Wikidot site or put a working example here


Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License