Skip to content

Instantly share code, notes, and snippets.

@arol
Created March 22, 2012 09:57
Show Gist options
  • Save arol/2157455 to your computer and use it in GitHub Desktop.
Save arol/2157455 to your computer and use it in GitHub Desktop.
Install tmbundle bash command
# This function allows you to install tmbdundles cloning from git being in any folder
# Usage
# $ tmbundle https://github.com/textmate/json.tmbundle.git
function tmbundle {
if [ -n "$1" ]; then
dir=$(pwd)
cd ~/Library/Application\ Support/TextMate/Bundles/
git clone $1
cd $dir
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment