cs : ajout push vers boulbi srv
This commit is contained in:
parent
5fc9b8b99a
commit
d45d408b46
3
bashrc
3
bashrc
|
@ -42,6 +42,7 @@ myip=$(dig +short txt ch whoami.cloudflare @1.0.0.1 | sed 's/\"//g')
|
|||
# fi
|
||||
|
||||
# at start
|
||||
clear
|
||||
shuf -n 1 ~/dev/script/mcphrase | figlet
|
||||
|
||||
# alias
|
||||
|
@ -54,6 +55,7 @@ alias shut="echo 0 > ~/.funny; shutdown 0"
|
|||
alias v="nvim"
|
||||
alias g="git"
|
||||
alias hm="gnome-terminal --full-screen -- bash -c \"cd ~/dev && neofetch; exec bash\" && exit"
|
||||
alias hlm="dev;cls"
|
||||
alias ..="cd .."
|
||||
alias ...="cd ../.."
|
||||
alias ....="cd ../../.."
|
||||
|
@ -82,3 +84,4 @@ alias pipe="pipes.sh -r 0 -p 5"
|
|||
alias wlc="wl-copy"
|
||||
alias wlp="wl-paste"
|
||||
alias laverite="echo -n 'linux > ' && echo wingay | lolcat -p 0.2"
|
||||
alias mcphrase="shuf -n 1 ~/dev/script/mcphrase | figlet"
|
||||
|
|
6
cs
6
cs
|
@ -27,6 +27,11 @@ if [[ $1 = "-log" ]]; then
|
|||
git plog
|
||||
exit
|
||||
fi
|
||||
if [[ $1 = "-ps" ]]; then
|
||||
cd ~/dev/cheat-sheet
|
||||
git push bbsrv
|
||||
exit
|
||||
fi
|
||||
if [[ $1 = "-h" ]]; then
|
||||
echo "cs -h : affiche aide commande"
|
||||
echo "cs <cheat-sheet> : ouvre le cheat-sheet ou le crée s'il n'exite pas"
|
||||
|
@ -35,6 +40,7 @@ if [[ $1 = "-h" ]]; then
|
|||
echo "cs -st : affiche le status git des cheat-sheet (eq: cd ~/dev/cheat-sheet && git status)"
|
||||
echo "cs -ci \"message\" : commit les cheat-sheet (eq: cd ~/dev/cheat-sheet && git add . && git commit -am \"message\")"
|
||||
echo "cs -log : affiche les log des commit git (eq: git plog)"
|
||||
echo "cs -ps : push le depot git sur le boulbi serveur"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue