diff --git a/.irbrc b/.irbrc new file mode 100644 index 0000000..7aa1bf7 --- /dev/null +++ b/.irbrc @@ -0,0 +1 @@ +require "paneron_registry" diff --git a/.pryrc b/.pryrc new file mode 100644 index 0000000..7aa1bf7 --- /dev/null +++ b/.pryrc @@ -0,0 +1 @@ +require "paneron_registry" diff --git a/flake.nix b/flake.nix index d8b2264..df7bf07 100644 --- a/flake.nix +++ b/flake.nix @@ -32,6 +32,24 @@ env = [ ]; commands = [ + { + name = "irb"; + command = "bundle exec irb \"$@\""; + help = "Run console IRB (has completion menu)"; + category = "Ruby"; + } + { + name = "console"; + command = "bundle exec irb \"$@\""; + help = "Run console IRB (has completion menu)"; + category = "Ruby"; + } + { + name = "pry"; + command = "bundle exec pry \"$@\""; + help = "Run pry"; + category = "Ruby"; + } { name = "release"; command = "bundle exec rake release \"$@\"";