Compare commits

..

No commits in common. "5eb57989afe3e6c0c2685e64af3793a821eae602" and "781caee29f9163f095fb757a365fac6816c5c83f" have entirely different histories.

4 changed files with 3 additions and 30 deletions

1
bashrc
View File

@ -150,7 +150,6 @@ alias shrek="firefox https://www.youtube.com/watch?v=_S7WEVLbQ-Y"
alias ssh-save='eval $(ssh-agent) && ssh-add'
alias raylib="cd /usr/local/include && v raylib.h"
alias d="dev"
alias packtoday="grep ' install ' /var/log/dpkg.log"
# alias avec parametre
emoji(){ grep -i $1 $OPT_PATH/emoji; }

2
cs
View File

@ -20,7 +20,7 @@ case $1 in
git plog
exit;;
"-ps") cd $cs_folder
git push
git push bbsrv
exit;;
"-h") echo "cs -h : affiche aide commande"
echo "cs <cheat-sheet> : ouvre le cheat-sheet ou le crée s'il n'exite pas"

26
journal
View File

@ -1,26 +0,0 @@
#!/bin/bash
pat="/home/$USER/opt/journal"
ane=$(date +%Y)
auj=$(date +%d-%b | tr '[:upper:]' '[:lower:]')
if [[ $2 != "" ]]; then
nvim $pat/$2/$1
exit
fi;
if [[ $1 == "save" ]]; then
cd $pat
git add .
git commit -am "$auj"
git push
exit
fi;
if [[ $1 != "" ]]; then
nvim $pat/$ane/$1
exit
fi;
mkdir -p $pat/$ane
nvim $pat/$ane/$auj

View File

@ -1,4 +1,4 @@
#!/bin/bash
sed "/\/\//d" $1 |\
sed "/\/\*/,/\*\/$/d"
sed "/^\/\//d" $1 |\
sed "/^\/\*/,/\*\/$/d"