mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-13 16:37:34 +00:00
47b9993469
Fixes #2333
9 lines
154 B
Fish
9 lines
154 B
Fish
function nextd-or-forward-word
|
|
set -l cmd (commandline)
|
|
if test -z "$cmd"
|
|
nextd
|
|
commandline -f repaint
|
|
else
|
|
commandline -f forward-word
|
|
end
|
|
end
|