mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(github): gho opens github.com repo page
This commit is contained in:
parent
13d4176a68
commit
5429336731
2 changed files with 9 additions and 0 deletions
|
|
@ -3,6 +3,9 @@ if (( $+commands[hub] )); then
|
|||
alias git=hub
|
||||
fi
|
||||
|
||||
# Aliases
|
||||
alias gho='open_command "$(git config --get remote.origin.url | sed -e "s#git@.*\.*github\.com:#https://github.com/#" -e "s/\.git$//")"'
|
||||
|
||||
# Functions #################################################################
|
||||
|
||||
# Based on https://github.com/dbb/githome/blob/master/.config/zsh/functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue