mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
requested changes
This commit is contained in:
parent
8204d3103b
commit
28cde83c33
2 changed files with 5 additions and 2 deletions
|
@ -23,7 +23,7 @@ complete -c ssh -s a --description "Disables forwarding of the authentication ag
|
|||
complete -c ssh -s A --description "Enables forwarding of the authentication agent"
|
||||
complete -x -c ssh -s b --description "Interface to transmit from" -a "
|
||||
(
|
||||
tail -n +2 /proc/net/arp | cut -d ' ' -f 1 ^/dev/null
|
||||
cut -d ' ' -f 1 /proc/net/arp ^/dev/null | string match -r -v '^IP'
|
||||
)
|
||||
"
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
|
||||
function __fish_print_function_prototypes -d "Prints the names of all function prototypes found in the headers in the current directory"
|
||||
sed -n "s/^\(.*[^[a-zA-Z_0-9]\|\)\([a-zA-Z_][a-zA-Z_0-9]*\) *(.*);.*\$/\2/p" *.h*
|
||||
set -l headers *.h *.hh *.hpp *.hxx
|
||||
if set -q headers[1]
|
||||
sed -n "s/^\(.*[^[a-zA-Z_0-9]\|\)\([a-zA-Z_][a-zA-Z_0-9]*\) *(.*);.*\$/\2/p" $headers
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue