Explorar el Código

More shell macros

Taddeus Kroes hace 10 años
padre
commit
3fd17ca896
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      bashrc

+ 6 - 0
bashrc

@@ -94,6 +94,8 @@ alias ydiff='diff -y -W 196 --left-column'
 alias v='gpicview'
 alias avg="awk '{a+=\$1} END{print a/NR}'"
 alias json='python -mjson.tool'
+alias g='grep'
+alias h='help'
 
 # git shortcuts
 alias gs='git status'
@@ -104,6 +106,10 @@ alias gp='git push'
 alias gr='git pull --rebase'
 alias m='make'
 
+# apt shortcuts
+alias ag='sudo apt-get'
+alias aps='apt-cache search'
+
 tm () {
     `which time` -f %e $* > /dev/null
 }