mv useless script to bashrc

This commit is contained in:
_N3m0 2023-04-17 07:56:32 +02:00
parent 0439203b51
commit 46b9ec6eb6
3 changed files with 3 additions and 15 deletions

3
bashrc
View File

@ -86,6 +86,7 @@ alias spinningrat="pqiv --fullscreen -t --background-pattern=white ~/videos/rat-
alias cleanindicator="ls -A ~ | wc -l | figlet"
alias srvcheck="ssh bbsrv sh /script/arualiv.sh"
alias nbprj="expr \$(cgit ~/dev) - 2"
alias lsal="ls -al"
# alias avec parametre
emoji(){ grep -i $1 ~/documents/emoji; }
@ -100,3 +101,5 @@ lss(){ ls $2 | grep -i $1; }
cgit(){ [[ $1 = "" ]] && d="." || d=$1 && ls -d $d/*/ | xargs ls -a | grep ^\\.git$ | wc -l; }
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; }

10
lol
View File

@ -1,10 +0,0 @@
#!/bin/bash
# lol hihiha
if [[ $1 = "" ]]; then
fortune | cowsay -f tux | lolcat
else
cowsay -f tux $1 | lolcat
fi
# lol

5
waka
View File

@ -1,5 +0,0 @@
#!/bin/bash
# crée le fichier .wakatime-project pour avoir le nom du project sur le dashboard
touch .wakatime-project
echo $1 > .wakatime-project