mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Alias for git grep
This commit is contained in:
parent
079e7bb5e0
commit
79206bc072
2 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,8 @@ function ggl() {
|
|||
}
|
||||
compdef _git ggl=git-checkout
|
||||
|
||||
alias ggn='git grep -n'
|
||||
|
||||
function ggp() {
|
||||
if [[ "$#" != 0 ]] && [[ "$#" != 1 ]]; then
|
||||
git push origin "${*}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue