diff --git a/clp b/clp index 8cd96d8..a385783 100755 --- a/clp +++ b/clp @@ -1,4 +1,5 @@ #!/bin/bash +# compte le nombre de ligne ecrite dans un fichier text if [[ $1 != "" ]]; then cd $1 diff --git a/completion b/completion index 069f2a3..df2632c 100644 --- a/completion +++ b/completion @@ -1,4 +1,5 @@ #!/bin/bash +# fait la completion automatique pour des script fait maison ;) cmpt_mcm(){ for opt in `ls --ignore=*.jar ~/.minecraft/mods`; do diff --git a/cpl b/cpl index 147038a..50c9db9 100755 --- a/cpl +++ b/cpl @@ -1,4 +1,5 @@ #!/bin/bash +# compile des programme en fonction de leur language if [[ $1 != "" ]]; then cd $1 2>/dev/null diff --git a/lol b/lol index 8db08cf..0f2c2a7 100755 --- a/lol +++ b/lol @@ -1,4 +1,5 @@ #!/bin/bash +# lol hihiha if [[ $1 = "" ]]; then fortune | cowsay -f tux | lolcat diff --git a/mcm b/mcm index 6986f13..cc1f072 100755 --- a/mcm +++ b/mcm @@ -1,4 +1,5 @@ #!/bin/bash +# change de modpack minecraft load=$1 diff --git a/newp b/newp index 964dc91..62ccc83 100755 --- a/newp +++ b/newp @@ -1,4 +1,5 @@ #!/bin/bash +# crée un un template de projet en fonction du language case $1 in sh) cp ~/dev/script/newp-template/sh.template $2 ;; diff --git a/prj b/prj index b74d7f9..ac0712f 100755 --- a/prj +++ b/prj @@ -1,4 +1,5 @@ #!/bin/bash +# permet d'ouvrir un pro jet dans le dossier ~/dev depuis n'importe ou cd ~/dev cd $1 2>/dev/null && nvim . || ( ( cd ${1%/*} 2>/dev/null && nvim ${1##*/} ) || nvim $1 ) diff --git a/rls b/rls index ec2d215..784a74a 100755 --- a/rls +++ b/rls @@ -1,4 +1,5 @@ #!/bin/bash +# compile un programme en c++ en mode release if [ $1 != "" ]; then cd $1 diff --git a/waka b/waka index e1bc17f..031dc1b 100755 --- a/waka +++ b/waka @@ -1,4 +1,5 @@ #!/bin/bash +# crée le fichier .wakatime-project pour avoir le nom du project sur le dashboard touch .wakatime-project echo $1 > .wakatime-project