r36214 - /website/tips.pod

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat May 23 13:56:19 UTC 2009


Author: dmn
Date: Sat May 23 13:56:15 2009
New Revision: 36214

URL: http://svn.debian.org/wsvn/?sc=1&rev=36214
Log:
add an alias for quickly editing aliases/hellper functions

Modified:
    website/tips.pod

Modified: website/tips.pod
URL: http://svn.debian.org/wsvn/website/tips.pod?rev=36214&op=diff
==============================================================================
--- website/tips.pod (original)
+++ website/tips.pod Sat May 23 13:56:15 2009
@@ -57,6 +57,10 @@
     # svn update and show the diff to the previous status
     alias svnupdiff='REV=$(svn info | awk "/Revision:/ {print \$2;}") ; svn up ; svndiff -r${REV}'
 
+    # quickly edit your aliases/functions
+    # presumes ~/.aliases is loaded on shell startup
+    alias ale='vim ~/.aliases; unalias -a; source ~/.aliases'
+
 =head1 3. Functions
 
     # nicer 'svn diff' output, needs colordiff




More information about the Pkg-perl-cvs-commits mailing list