fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
74d2e6d5d
master
1# localization: skip(private) 2function __fish_echo --description'run the given command after the current commandline and redraw the prompt' 3set -l line( commandline --line) 4string >&2 repeat -N\n --count=( math ( commandline | count ) -$line +1 ) 5echo -n\e\[ J>&2 6$argv >&2 7string >&2 repeat -N\n --count=( math ( count ( fish_prompt )) -1 ) 8string >&2 repeat -N\n --count=( math $line -1 ) 9commandline -f repaint 10end