mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Add newline before listing current token.
This commit is contained in:
parent
1565f9d9c3
commit
daf3469ce4
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
function __fish_list_current_token -d "List contents of token under the cursor if it is a directory, otherwise list the contents of the current directory"
|
function __fish_list_current_token -d "List contents of token under the cursor if it is a directory, otherwise list the contents of the current directory"
|
||||||
set val (eval echo (commandline -t))
|
set val (eval echo (commandline -t))
|
||||||
|
printf "\n"
|
||||||
if test -d $val
|
if test -d $val
|
||||||
ls $val
|
ls $val
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue