HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/fish/functions/__fish_complete_file_url.fish
function __fish_complete_file_url
	set -l comp

	if set -q argv[1]
		set comp $argv[1]
	else
		set comp (commandline -ct)
	end

	set -l prefix (echo $comp|cut -c 1-7)

	if test file:// = $prefix
		set -l stripped (echo $comp|cut -c 8-)
		printf "%s\n" file://(complete -C"echo $stripped")
	else
		echo file://
	end

end