Permalink
Browse files

do ../

  • Loading branch information...
1 parent 5f7d180 commit c7be7fdb08bb50774cd15021a5f2e468ac8d53c2 @trapd00r committed Apr 19, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 cdp
View
3 cdp
@@ -0,0 +1,3 @@
+#!/bin/sh
+#cdp - cd up on dir
+cd $(pwd|perl -pe 's/^((?:\/[^\/]+)*\/).*/$1/')

0 comments on commit c7be7fd

Please sign in to comment.