Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Support for running shell slides

  • Loading branch information...
commit 943a1d567d713335ee47c4e0888f9a16f8f30ed6 1 parent c395794
@mikegrb mikegrb authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/Vroom.pm
View
3  lib/Vroom.pm
@@ -182,6 +182,9 @@ sub runSlide {
elsif ($slide =~ /\.yaml$/) {
exec "clear; $^X -MYAML::XS -MData::Dumper -e '\$Data::Dumper::Terse = 1; \$Data::Dumper::Indent = 1; print Dumper YAML::XS::LoadFile(shift)' run.slide";
}
+ elsif ($slide =~ /\.sh$/) {
+ exec "clear; $ENV{SHELL} -i run.slide";
+ }
}
sub trim_slide {
Please sign in to comment.
Something went wrong with that request. Please try again.