(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# Based on http://unix.stackexchange.com/questions/14303/bash-cd-up-until-in-certain-folder/14311#14311 | |
# Jump to closest matching parent directory | |
upto () { | |
if [ -z "$1" ]; then | |
return | |
fi | |
local upto=$@ | |
cd "${PWD/\/$upto\/*//$upto}" | |
} | |
# Auto-completion |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.