mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 04:13:08 +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
|