mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 14:24:35 +08:00
47b9993469
Fixes #2333
10 lines
154 B
Fish
10 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
|