fish-shell/share/functions/prevd-or-backward-word.fish
axel dfa73c7cc1 Remove the --key-binding switch for fish
darcs-hash:20061025202836-ac50b-682015e2f5830a85ff520e89b0a951ca9d2913dc.gz
2006-10-26 06:28:36 +10:00

8 lines
134 B
Fish

function prevd-or-backward-word
if test -z (commandline)
prevd
else
commandline -f backward-word
end
end