fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Amy GraceAdd completions for `irb` (#6260)ba56a2ec0

master
1.8 KiB31 linesraw
1# irb (interactive ruby)
2
3complete -c irb -s f -d "Suppresses read of ~/.irbrc"
4complete -c irb -s d -d "Set \$DEBUG to true"
5complete -c irb -s r -f -d "Load LIB using require"
6complete -c irb -s I -xa "(__fish_complete_directories)" -d "Specify \$LOAD_PATH directory"
7complete -c irb -s U -d "Same as 'ruby -U'"
8complete -c irb -s E -l encoding -d "Specify default text encoding"
9complete -c irb -s w -d "Turn on warnings'"
10complete -c irb -s W -xa '0 1 2' -d "Set warning level"
11complete -c irb -l context-mode -xa '0 1 2 3' -d "Create Binding Object"
12complete -c irb -l echo -d "Show result"
13complete -c irb -l noecho -d "Don't show result"
14complete -c irb -l inspect -d "Use 'inspect' for output"
15complete -c irb -l noinspect -d "Don't use 'inspect' for output"
16complete -c irb -l readline -d "Use Readline extension module"
17complete -c irb -l noreadline -d "Don't use Readline extension module"
18complete -c irb -l prompt -xa "default simple xmp inf-ruby" -d "Switch prompt mode"
19complete -c irb -l prompt-mode -xa "default simple xmp inf-ruby" -d "Switch prompt mode"
20complete -c irb -l inf-ruby-mode -d "Use prompt for emacs inf-ruby-mode"
21complete -c irb -l sample-book-mode -d "Simple prompt mode"
22complete -c irb -l simple-prompt -d "Simple prompt mode"
23complete -c irb -l noprompt -d "No prompt mode"
24complete -c irb -l single-irb -d "Share self with sub-irb"
25complete -c irb -l tracer -d "Displays trace for each execution of commands"
26complete -c irb -l back-trace-limit -x -d "Displays backtrace, top N and tail N"
27complete -c irb -l irb_debug -x -d "Sets internal debug level to N"
28complete -c irb -l verbose -d "Show details"
29complete -c irb -l noverbose -d "Don't show details"
30complete -c irb -s v -l version -d "Print the version of irb"
31complete -c irb -s h -l help -d "Print a summary of options"