Skip to content

Instantly share code, notes, and snippets.

@gizmomogwai
Created August 17, 2015 19:54
Show Gist options
  • Save gizmomogwai/6685fa92c86a45077b25 to your computer and use it in GitHub Desktop.
Save gizmomogwai/6685fa92c86a45077b25 to your computer and use it in GitHub Desktop.
execute one rake task for bash
#!/bin/bash
function rt() {
local task
task=$(rake -T | fzf | cut -d ' ' -f 2)
rake $task
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment