Skip to content

Commit

Permalink
count py lines alias
Browse files Browse the repository at this point in the history
  • Loading branch information
AccursedGalaxy committed May 30, 2024
1 parent 5827b05 commit 89fdb93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ alias c='clear' # Clear terminal display

alias cat='batcat'

# Alias to count all lines in a python project - all .py files apart from other generated files
alias countpy='find . -name "*.py" -not -path "*/migrations/*" -not -path "*/__pycache__/*" -not -path "*/.venv/*" -not -path "*/.git/*" -print0 | xargs -0 cat | wc -l'


# __ __ _ _
# (_ _ ._ o ._ _|_ (_ _|_ _|_ _|_
Expand Down

0 comments on commit 89fdb93

Please sign in to comment.