Explorar el Código

Updates batch:

* Update the gb alias with a richer .gitignore file
* Add alias to quickly spawn OpenStack servers
* Add git commit aliases
Brendan Abolivier hace 6 años
padre
commit
a54ca56fbe
Firmado por: Brendan Abolivier <contact@brendanabolivier.com> ID clave GPG: 8EF1500759F70623
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5
    1
      .bashrc

+ 5
- 1
.bashrc Ver fichero

@@ -22,8 +22,10 @@ alias pitivi='optirun flatpak run org.pitivi.Pitivi//stable'
22 22
 alias ffupdate='pacaur -S --noconfirm --noedit firefox-always-nightly'
23 23
 alias update='yaourt -Syua --noconfirm --ignore java-testng --ignore javahelp2 --ignore jgraphx --ignore scilab --ignore firefox-always-nightly --ignore postgresql --ignore postgresql-libs'
24 24
 alias backuphome='rsync --links --recursive --progress --exclude=".cache" $HOME/*'
25
-alias new-gb-project='mkdir src vendor bin pkg && git init && echo -e "bin\npkg" > .gitignore'
25
+alias new-gb-project='mkdir src vendor bin pkg && git init && echo -e "_test\nbin\npkg\nvendor/src\nconfig.yaml\n*.db" > .gitignore'
26 26
 alias gocode-lookup='gocode set package-lookup-mode'
27
+alias osspawns1='openstack server create --key-name brendan --flavor eeb4ccc9-faa0-4afb-955e-6a0224f93055 --image 839d5704-2e75-481f-85d1-86cb07ef6ba4'
28
+alias osspawns1-ubuntu1604='openstack server create --key-name brendan --flavor eeb4ccc9-faa0-4afb-955e-6a0224f93055 --image 71b02300-b1d3-4956-bd5b-b99f3134fd10'
27 29
 
28 30
 alias l='ls'
29 31
 alias ll='ls -l'
@@ -33,6 +35,8 @@ alias ga='git add'
33 35
 alias gs='git status'
34 36
 alias gd='git diff'
35 37
 alias gc='git commit'
38
+alias gcm='git commit -m'
39
+alias gcSm='git commit -S -m'
36 40
 alias gr='git rm'
37 41
 alias gco='git checkout'
38 42
 alias gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all"