mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 08:58:01 +00:00
47b9993469
Fixes #2333
10 lines
181 B
Fish
10 lines
181 B
Fish
function prevd-or-backward-word
|
|
set -l cmd (commandline)
|
|
if test -z "$cmd"
|
|
prevd
|
|
commandline -f repaint
|
|
else
|
|
commandline -f backward-word
|
|
end
|
|
end
|
|
|