Sha256: 122e3e171c600f429c78ae8a99a2f3c64666817989a47a01abdf2d00533905e8
Contents?: true
Size: 338 Bytes
Versions: 5
Compression:
Stored size: 338 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH.unshift File.expand_path('../lib', __dir__) require 'tmux-erb-parser' # limit recursive execution command = File.basename(__FILE__) processes = `ps axo command`.each_line exit 1 if processes.grep(/\Aruby.+#{command}/).size > 5 cmd = TmuxERBParser::Command.new(ARGV) cmd.run
Version data entries
5 entries across 5 versions & 1 rubygems