rename "basic" to "misc"
This commit is contained in:
parent
e3f6817a75
commit
6e5d12cc1a
|
@ -1,4 +1,4 @@
|
|||
require "pry/default_commands/basic"
|
||||
require "pry/default_commands/misc"
|
||||
require "pry/default_commands/help"
|
||||
require "pry/default_commands/gems"
|
||||
require "pry/default_commands/context"
|
||||
|
@ -15,7 +15,7 @@ class Pry
|
|||
|
||||
# Default commands used by Pry.
|
||||
Commands = Pry::CommandSet.new do
|
||||
import DefaultCommands::Basic
|
||||
import DefaultCommands::Misc
|
||||
import DefaultCommands::Help
|
||||
import DefaultCommands::Gems
|
||||
import DefaultCommands::Context
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
class Pry
|
||||
module DefaultCommands
|
||||
|
||||
Basic = Pry::CommandSet.new do
|
||||
Misc = Pry::CommandSet.new do
|
||||
command "toggle-color", "Toggle syntax highlighting." do
|
||||
Pry.color = !Pry.color
|
||||
output.puts "Syntax highlighting #{Pry.color ? "on" : "off"}"
|
Loading…
Reference in New Issue