fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
66f6493fb
master
1# localization: skip(private) 2function __fish_posix_quote 3for argin $argv 4if set -l bareword( string match -r --'^[-=\w]+$' $arg ) 5printf "%s " $bareword 6continue 7end 8printf "'%s' " ( printf %s$arg | string replace -a --"'" "'\\''" | 9string collect --no-trim-newlines) 10end 11end