Skip to content

Commit

Permalink
chore: rename alias, myrepo -> gepo
Browse files Browse the repository at this point in the history
  • Loading branch information
ndxbn committed Oct 27, 2024
1 parent cc7fe5b commit 8e9ce52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zsh/.zsh_plugin.d/alias.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ alias http-server='docker run -v `pwd`:/usr/share/nginx/html:ro -p 8080:80 ngin
alias tmp='pushd "$(TMPDIR=${HOME}/.local/tmp mktemp -d)"'

# GitHub tools
alias myrepo='gh repo list --json name --jq ".[].name" --no-archived | peco | xargs ghq get -p'
## "get repo" short name
alias gepo='gh repo list --json name --jq ".[].name" --no-archived | peco | xargs ghq get -p'
## "cd repo" short name
alias cdpo='pushd "$(ghq root)/$(ghq list | peco)"'

0 comments on commit 8e9ce52

Please sign in to comment.