/etc/skel/.zshrc: add alias 'g' for git
authorMichael Prokop <mika@grml.org>
Sun, 2 Dec 2007 18:55:03 +0000 (19:55 +0100)
committerMichael Prokop <mika@grml.org>
Sun, 2 Dec 2007 18:55:03 +0000 (19:55 +0100)
debian/changelog
etc/skel/.zshrc

index 067849c..5c31d8b 100644 (file)
@@ -1,3 +1,9 @@
+grml-etc-core (0.3.41) unstable; urgency=low
+
+  * /etc/skel/.zshrc: add alias 'g' for git.
+
+ -- Michael Prokop <mika@grml.org>  Sun, 02 Dec 2007 19:54:45 +0100
+
 grml-etc-core (0.3.40) unstable; urgency=low
 
   * /etc/zsh/zshrc: add MANWIDTH, deactivated by default though;
index 4f52a35..7230685 100644 (file)
   alias insecssh='ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null"'
   alias insecscp='scp -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null"'
 
+# Use 'g' instead of 'git':
+  type g &>/dev/null || alias g='git'
+
 # use colors when browsing man pages, but only if not using LESS_TERMCAP_* from /etc/zsh/zshenv:
   if [ -z "$LESS_TERMCAP_md" ] ; then
      [ -d ~/.terminfo/ ] && alias man='TERMINFO=~/.terminfo/ LESS=C TERM=mostlike PAGER=less man'