Skip to content

Commit

Permalink
style(sh): grm doesn't hurt the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
lanej committed May 26, 2024
1 parent 3792f02 commit f4a13b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sh/alias
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ alias gds='GIT_PAGER=cat git diff --stat'
alias g="git"
alias gpr="hub pull-request"
alias gpro='hub pull-request -o'
alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm"
alias guard='be guard'
alias mt='(bundle-hack check || bundle) && minitest -Itest/ '
alias mytop="vtop -t monokai"
Expand Down Expand Up @@ -173,6 +172,10 @@ git-authors() {
git authors -e | rg '\s*(\d+)\s+.*<(.*)>' -r '$1,$2' | awk -F, '{ Authors[$2]+=$1 } END { for (author in Authors) { print author","Authors[author] } }' | sort -t, -nk2 | termgraph --color=blue
}

grm() {
git status | grep deleted | awk '{print $3}' | xargs git rm
}

phab_repo_files() {
page=$(echo "{\"queryKey\":\"5K12TorDVnuo\"}" | arc call-conduit -- diffusion.repository.search | jq -c '.response.data[].fields.name')
for repo in $(); do
Expand Down

0 comments on commit f4a13b4

Please sign in to comment.