bed0344627db7cd2bf2222e8424fde7f06fb088d

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Merge branch 'ohmyzsh/pull-7157' (#7157)

Closes #7157

Diff

 1diff --git a/plugins/fastfile/fastfile.plugin.zsh b/plugins/fastfile/fastfile.plugin.zsh
 2index 0d71246fcc80f7b694dcafe533d2d76f81c65037..ccbbce3b2b7f8deafaff243c743231c53ddabdbe 100644
 3--- a/plugins/fastfile/fastfile.plugin.zsh
 4+++ b/plugins/fastfile/fastfile.plugin.zsh
 5@@ -78,7 +78,7 @@ function fastfile_print() {
 6 #    (=> fastfle_print) for each shortcut
 7 #
 8 function fastfile_ls() {
 9-    for f in "${fastfile_dir}"/*; do
10+    for f in "${fastfile_dir}"/*(NF); do
11         file=`basename "$f"` # To enable simpler handeling of spaces in file names
12         varkey=`echo "$file" | tr " " "_"`
13 
14@@ -104,7 +104,7 @@ function fastfile_rm() {
15 # Generate the aliases for the shortcuts
16 #
17 function fastfile_sync() {
18-    for f in "${fastfile_dir}"/*(N); do
19+    for f in "${fastfile_dir}"/*(NF); do
20         file=`basename "$f"` # To enable simpler handeling of spaces in file names
21         varkey=`echo "$file" | tr " " "_"`
22