ajout des description des programme
This commit is contained in:
parent
b86aff7df7
commit
879a2f0504
1
clp
1
clp
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
# compte le nombre de ligne ecrite dans un fichier text
|
||||
|
||||
if [[ $1 != "" ]]; then
|
||||
cd $1
|
||||
|
|
|
@ -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
|
||||
|
|
1
cpl
1
cpl
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
# compile des programme en fonction de leur language
|
||||
|
||||
if [[ $1 != "" ]]; then
|
||||
cd $1 2>/dev/null
|
||||
|
|
1
lol
1
lol
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
# lol hihiha
|
||||
|
||||
if [[ $1 = "" ]]; then
|
||||
fortune | cowsay -f tux | lolcat
|
||||
|
|
1
newp
1
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 ;;
|
||||
|
|
1
prj
1
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 )
|
||||
|
|
1
rls
1
rls
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
# compile un programme en c++ en mode release
|
||||
|
||||
if [ $1 != "" ]; then
|
||||
cd $1
|
||||
|
|
Loading…
Reference in New Issue