mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
remove exts and freq
i never use these
This commit is contained in:
parent
b8eb706746
commit
14e928e589
2 changed files with 0 additions and 28 deletions
25
README.md
25
README.md
|
@ -45,31 +45,6 @@ export CC="$(has clang || has clang-3.8 || has gcc)"
|
|||
|
||||
reverses the 4-byte endianness of a file. this is an in-place operation!
|
||||
|
||||
### exts
|
||||
|
||||
prints and sorts the most used file extensions in the CWD.
|
||||
|
||||
### freq
|
||||
|
||||
prints the most frequently used commands found in `~/.histfile`.
|
||||
arguments are passed to `head`.
|
||||
|
||||
```
|
||||
$ freq
|
||||
2533 git
|
||||
1600 tw
|
||||
1572 twitch
|
||||
1019 yt
|
||||
994 wipe;
|
||||
621 compile
|
||||
616 ls
|
||||
567 gd
|
||||
522 ssh
|
||||
521 less
|
||||
```
|
||||
|
||||
**TODO:** fix `:` and extraneous semicolons showing up in results.
|
||||
|
||||
### nocom
|
||||
|
||||
strips lines that begin with a `#` character.
|
||||
|
|
|
@ -134,9 +134,6 @@ ll() {
|
|||
|
||||
# providing extra functionality
|
||||
alias counts='find . | wc -l'
|
||||
alias exts='print -l *(:e:l) | sort | uniq -c | sort -n'
|
||||
alias freq="cut -d' ' -f1 < ~/.histfile | sort | uniq -c | sort -rn | head"
|
||||
#
|
||||
alias nocom='grep -Ev --line-buffered --color=never "^[[:space:]]*(//|#)"'
|
||||
alias jrep='grep -aPo "[\x{20}-\x{7E}\x{4E00}-\x{9FFF}\x{3040}-\x{30FF}]+"'
|
||||
alias bomb='uconv -f utf-8 -t utf-8 --add-signature'
|
||||
|
|
Loading…
Add table
Reference in a new issue