lib/hss in hss-0.1.14 vs lib/hss in hss-0.1.15

- old
+ new

@@ -1,11 +1,11 @@ #!/usr/bin/env ruby require 'yaml' require 'pathname' -Version = '0.1.14' +Version = '0.1.15' if ARGV.length == 1 and ARGV[0] == 'version' puts Version exit end @@ -49,10 +49,10 @@ Conf['patterns'].each { |pattern| puts pattern['example'] } else Conf['patterns'].each do |pattern| next unless Input.match(pattern['short']) long_form = eval '"' + pattern['long'] + '"' - $stdout.syswrite "\033]0;#{Input}\007" + $stdout.syswrite "\033]0;#{Input}\007" if $stdin.tty? exec "#{Cmd} #{long_form} #{Args}" end puts "Couldn't find a matching host for: #{Input}" exit 1 end