fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerMark private functions that don't need localizationa53db7256

master
313 B6 linesraw
1# localization: skip(private)
2function __fish_append -d "Internal completion function for appending string to the commandline" --argument-names sep
3    set -e argv[1]
4    set -l str (commandline -tc | string replace -rf "(.*$sep)[^$sep]*" '$1' | string replace -r -- '--.*=' '')
5    printf "%s\n" "$str"$argv
6end