1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-12-12 15:34:50 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Marc Cornellà
bed0344627 Merge branch 'ohmyzsh/pull-7157' (#7157)
Closes #7157
2020-06-04 15:51:58 +02:00
Sumit Sahrawat
f23e4912cf Silence non-existent/empty dir errors in fastfile_{sync,ls} 2020-06-04 15:51:48 +02:00

View File

@ -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 " " "_"`