mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
remove all Bond
references from pry. rel #1180
This commit is contained in:
parent
749ce9c831
commit
dc511ab30f
4 changed files with 4 additions and 10 deletions
|
@ -439,7 +439,9 @@ class Pry
|
|||
#
|
||||
# @param [String] search The line typed so far
|
||||
# @return [Array<String>] Completion words
|
||||
def complete(search); Bond::DefaultMission.completions; end
|
||||
def complete(search)
|
||||
[]
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ class Pry
|
|||
end
|
||||
|
||||
def complete(search)
|
||||
super | Bond::Rc.files(search.split(' ').last || '') | load_path_completions
|
||||
super | load_path_completions
|
||||
end
|
||||
|
||||
def load_path_completions
|
||||
|
|
|
@ -189,10 +189,6 @@ class Pry
|
|||
[".rb", ".c", ".py", ".yml", ".gemspec"].include?(File.extname(str)) ||
|
||||
str =~ /\/|\\/
|
||||
end
|
||||
|
||||
def complete(search)
|
||||
super + Bond::Rc.files(search.split(" ").last || '')
|
||||
end
|
||||
end
|
||||
|
||||
Pry::Commands.add_command(Pry::Command::Edit)
|
||||
|
|
|
@ -28,10 +28,6 @@ class Pry
|
|||
end
|
||||
end
|
||||
|
||||
def complete(search)
|
||||
super + Bond::Rc.files(search.split(" ").last || '')
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def parse_destination(dest)
|
||||
|
|
Loading…
Reference in a new issue