Created
April 18, 2017 12:08
-
-
Save matsu-chara/5856ec0ee322fb7ce20fb40e93db8c35 to your computer and use it in GitHub Desktop.
cousierをONにしたりOFFにしたりする君
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coursierをon | |
function coursier_enable() { | |
sed -i 's/\/\/\(addSbtPlugin("io.get-coursier" % "sbt-coursier" % ".*")\)/\1/' ~/.sbt/0.13/plugins/global.sbt | |
} | |
# coursierをoff | |
function coursier_disable() { | |
sed -i '/^addSbtPlugin("io.get-coursier" % "sbt-coursier" % ".*")/s/^/\/\//' ~/.sbt/0.13/plugins/global.sbt | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment