Note: these are tested on WSLv2 - add them to
~/.bash_aliases
or other bash profile file.
alias newgist='wslview https://gist.github.com'
alias newgit='wslview https://github.com'
alias ap='wslview https://portal.azure.com'
# go to current repo web page - requires cli.github.com (ref [1])
alias gg='gh repo view --web'
alias lla='ls -la'
alias gs='git status'
# change into git root
alias groot='cd `git rev-parse --show-toplevel`'
alias tfp='terraform plan'
alias tfa='terraform apply'
# emulate mac clipboard
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
- [1] cli.github.com