mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Add newline before listing current token.
This commit is contained in:
committed by
David Adam (zanchey)
parent
1565f9d9c3
commit
daf3469ce4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user