mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-27 06:31:19 -03:00
Add some more type tests
This commit is contained in:
@@ -40,3 +40,15 @@ type realpath | grep -v "^ *"
|
||||
type -t realpath foobar
|
||||
# CHECK: function
|
||||
# CHECKERR: type: Could not find {{.}}foobar{{.}}
|
||||
|
||||
type -P test
|
||||
# CHECK: test is {{.*}}/test
|
||||
type -P ls
|
||||
# CHECK: ls is {{.*}}/ls
|
||||
|
||||
type
|
||||
echo $status
|
||||
# CHECK: 1
|
||||
type -q
|
||||
echo $status
|
||||
# CHECK: 1
|
||||
|
||||
Reference in New Issue
Block a user