fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
6d0cd3d9b
master
1# RUN: %fish %s 2# REQUIRES: command -v sphinx-build 3 4mkdir -p man/man1 5 6echo > man/man1/dirname.1' 7.SH NAME 8dirname \- strip last component from file name 9.SH DESCRIPTION 10.PP 11Output each NAME with its last non\-slash component and trailing slashes 12.TP 13\fB\-z\fR, \fB\-\-zero\fR 14end each output line with NUL, not newline 15 16\-\-reject-unconstrained-dependencies 17.I none|all 18.RE 19 20\-\-tilde 21.I ~ 22.RE 23 24' 25 26MANPATH=$PWD /man fish_update_completions 27# CHECK: Parsing man pages and writing completions to {{.*}}/generated_completions 28# CHECK: {{.*}} 1 / 1 : dirname.1{{.*}} 29 30cd $__fish_cache_dir 31find . -type f 32# CHECK: ./generated_completions/dirname.fish 33 34cat ./generated_completions/dirname.fish 35# CHECK: # dirname 36# CHECK: # Autogenerated from man page {{.*}}/man/man1/dirname.1 37# CHECK: complete -c dirname -s z -l zero -d 'end each output line with NUL, not newline' 38# CHECK: complete -c dirname -l reject-unconstrained-dependencies -d 'none|all' 39# CHECK: complete -c dirname -l tilde -d '~'