bashrc : catall only text file
This commit is contained in:
parent
3e5e07623a
commit
b831a0ebf2
2
bashrc
2
bashrc
|
@ -100,7 +100,7 @@ lsc(){ ls $1 | wc -l; }
|
|||
lsac(){ ls -A $1 | wc -l; }
|
||||
waka(){ echo $1 > .wakatime-project; }
|
||||
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; }
|
||||
lgit(){ fgit | fgit | grep --color=never ^\\./[^/]*/$ ; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue