bashrc : catall only text file

This commit is contained in:
_N3m0 2023-04-28 20:53:08 +02:00
parent 3e5e07623a
commit b831a0ebf2
1 changed files with 1 additions and 1 deletions

2
bashrc
View File

@ -100,7 +100,7 @@ lsc(){ ls $1 | wc -l; }
lsac(){ ls -A $1 | wc -l; } lsac(){ ls -A $1 | wc -l; }
waka(){ echo $1 > .wakatime-project; } waka(){ echo $1 > .wakatime-project; }
lol(){ [[ $1 = "" ]] && fortune | cowsay -f tux | lolcat || cowsay -f tux $1 | lolcat; } lol(){ [[ $1 = "" ]] && fortune | cowsay -f tux | lolcat || cowsay -f tux $1 | lolcat; }
cata(){ find -type f | grep -v \.git | grep -v build | xargs tail -n +1; } catall(){ find -type f | grep -v \.git | grep -v build | xargs file | grep text | sed "s/:.*$//g" | xargs tail -n +1; }
fgit(){ find | grep \\.git$ | sed s/\\.git//g; } fgit(){ find | grep \\.git$ | sed s/\\.git//g; }
lgit(){ fgit | fgit | grep --color=never ^\\./[^/]*/$ ; } lgit(){ fgit | fgit | grep --color=never ^\\./[^/]*/$ ; }