mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
parent
7bfad18ec7
commit
47b9993469
2 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
function nextd-or-forward-word
|
function nextd-or-forward-word
|
||||||
if test -z (commandline)
|
set -l cmd (commandline)
|
||||||
|
if test -z "$cmd"
|
||||||
nextd
|
nextd
|
||||||
commandline -f repaint
|
commandline -f repaint
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
function prevd-or-backward-word
|
function prevd-or-backward-word
|
||||||
if test -z (commandline)
|
set -l cmd (commandline)
|
||||||
|
if test -z "$cmd"
|
||||||
prevd
|
prevd
|
||||||
commandline -f repaint
|
commandline -f repaint
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue