Skip to content

Instantly share code, notes, and snippets.

@jinzhu
Created March 16, 2009 06:52
Show Gist options
  • Save jinzhu/79766 to your computer and use it in GitHub Desktop.
Save jinzhu/79766 to your computer and use it in GitHub Desktop.
for d in /pillar/Lab/*; do
if [ -d $d ];then
alias ${d##*/}="cd '$d'";
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment