diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2020-07-04 11:54:44 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2020-07-04 11:54:44 -0600 |
commit | 59344b5c59b7190ad3b14a2e8e02db8b5559141b (patch) | |
tree | a8e7ede89d3b896967d7d18d071107bd06c77897 /plugins/fastfile | |
parent | a3be2e4084285d7625e63bfe4b951c58143e3c9c (diff) | |
parent | a15f0f0e9ff17c1ca5c6d694d732e72c7c03a62b (diff) | |
download | zsh-59344b5c59b7190ad3b14a2e8e02db8b5559141b.tar.gz zsh-59344b5c59b7190ad3b14a2e8e02db8b5559141b.tar.bz2 zsh-59344b5c59b7190ad3b14a2e8e02db8b5559141b.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'plugins/fastfile')
-rw-r--r-- | plugins/fastfile/fastfile.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/fastfile/fastfile.plugin.zsh b/plugins/fastfile/fastfile.plugin.zsh index 0d71246fc..ccbbce3b2 100644 --- a/plugins/fastfile/fastfile.plugin.zsh +++ b/plugins/fastfile/fastfile.plugin.zsh @@ -78,7 +78,7 @@ function fastfile_print() { # (=> fastfle_print) for each shortcut # function fastfile_ls() { - for f in "${fastfile_dir}"/*; do + for f in "${fastfile_dir}"/*(NF); do file=`basename "$f"` # To enable simpler handeling of spaces in file names varkey=`echo "$file" | tr " " "_"` @@ -104,7 +104,7 @@ function fastfile_rm() { # Generate the aliases for the shortcuts # function fastfile_sync() { - for f in "${fastfile_dir}"/*(N); do + for f in "${fastfile_dir}"/*(NF); do file=`basename "$f"` # To enable simpler handeling of spaces in file names varkey=`echo "$file" | tr " " "_"` |