summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-06-27 06:46:43 +0200
committerMartin Fischer <martin@push-f.com>2025-06-28 17:36:44 +0200
commit41665a5b2f8050e70acaf1e19730ed101e128764 (patch)
treeecc7fd8b5644482e0da12e7c40d1131c83ec4967 /user
parentb9a706b7c720ca2b75a19e765655f6544ed8cfa4 (diff)
tweak(workstation): switch from tokei to scc
tokei is pretty much unmaintained (a bug fix for a crash hasn't been merged in half a year[1]) and since there's other things that are bothering me (e.g. the format flag being named `-o` and `-o json` outputting the counts for every single file), I'm switching to scc, which is very actively maintained. [1]: https://github.com/XAMPPRocky/tokei/pull/1209
Diffstat (limited to 'user')
-rw-r--r--user/zsh/zshrc-workstation.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/zsh/zshrc-workstation.sh b/user/zsh/zshrc-workstation.sh
index e027208..93ac430 100644
--- a/user/zsh/zshrc-workstation.sh
+++ b/user/zsh/zshrc-workstation.sh
@@ -3,7 +3,7 @@
## Aliases
alias code='codium'
alias zed=zeditor
-alias tokei='tokei -s code -n commas'
+alias scc='scc --no-cocomo --no-size --no-gen --sort code'
## Environment variables
export CARGO_HOME="$HOME/.local/share/cargo"