Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ZSH key binding that spans multiple lines
bindkey -s "^[T" 'sh <<EOF ^[^M'\
' # Run the main test.^[^M'\
' cd ~/work/src/tests/ && JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home mvn --quiet test --settings ~/sarnobat.git/mac/.m2/settings.xml -Dsurefire.useFile=false -Dsurefire.printSummary=false -Dtier=devint -Dtest="*#*" | grcat ~/conf.tail ; popd; osascript -e '\''tell app \"System Events\" to display dialog \"Tests finished\"'\'' ^[^M'\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment