mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
requested changes
This commit is contained in:
@@ -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 -c ssh -s A --description "Enables forwarding of the authentication agent"
|
||||||
complete -x -c ssh -s b --description "Interface to transmit from" -a "
|
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"
|
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
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user