Skip to content

Commit

Permalink
feat(git,ripgrep): hwvb
Browse files Browse the repository at this point in the history
  • Loading branch information
tekumara committed Dec 27, 2023
1 parent 39adfdd commit 90388e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dotfiles/.zshrc.d/git.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,7 @@ hb() {
alias hprc='gh pr create --fill -w'
# view pr for the current branch
alias hprv='gh pr view --web'
# view ci.yml workflow
alias hwv='gh workflow view ci.yml'
# view ci.yml workflow in the browser
alias hwv='gh workflow view -w ci.yml'
alias hwvb='gh workflow view -w ci.yml'
2 changes: 1 addition & 1 deletion dotfiles/.zshrc.d/ripgrep.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export RIPGREP_CONFIG_PATH="$HOME/.ripgreprc"
# search filenames
rgf() {
# $1 = regex, $2 = path (optional)
rg --files ${2:-} | rg "$1"
rg --files --hidden ${2:-} | rg "$1"
}

# search
Expand Down

0 comments on commit 90388e2

Please sign in to comment.