mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-19 13:33:38 +08:00
9 lines
270 B
Fish
9 lines
270 B
Fish
|
function nextd-or-forward-token --description "If commandline is empty, run nextd; else move one argument to the right"
|
||
|
if test "$(commandline; printf .)" = \n.
|
||
|
nextd
|
||
|
commandline -f repaint
|
||
|
return
|
||
|
end
|
||
|
commandline -f forward-token
|
||
|
end
|