fork/fish-shell

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

Peter AmmonRemove LineCounter08a9f5e68

master
780 B34 linesraw
1# RUN: %fish %s
2#
3# These lines left around because we need the line numbers.
4# This file in general requires careful editing in the middle, I recommend appending.
5function t --on-event linenumber
6    status line-number
7    status line-number
8    status line-number
9end
10
11emit linenumber
12# CHECK: 6
13# CHECK: 7
14# CHECK: 8
15
16type --nonexistent-option-so-we-get-a-backtrace
17# CHECKERR: type: --nonexistent-option-so-we-get-a-backtrace: unknown option
18
19type --short=cd
20# CHECKERR: type: --short=cd: option does not take an argument
21
22function line-number
23    status line-number
24end
25
26line-number
27# CHECK: 23
28
29bind -M
30# CHECKERR: bind: -M: option requires an argument
31# CHECKERR: {{.*}} (line 29):
32# CHECKERR: bind -M
33# CHECKERR: ^
34# CHECKERR: (Type 'help bind' for related documentation)