mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 23:47:25 +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"
|
||||
set val (eval echo (commandline -t))
|
||||
printf "\n"
|
||||
if test -d $val
|
||||
ls $val
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue