summaryrefslogtreecommitdiff
path: root/plugins/fastfile
diff options
context:
space:
mode:
authorJosh Soref <2119212+jsoref@users.noreply.github.com>2021-12-01 06:20:31 -0500
committerGitHub <noreply@github.com>2021-12-01 12:20:31 +0100
commit0e41181d547e2f89ffc503a7afc8b0f3991dd1a8 (patch)
treeefb25d5bca1351819a0bc0993df442bb1c49d4f8 /plugins/fastfile
parent1c1d74c5ec49e5ab7e2d664e557c61745d1995e6 (diff)
downloadzsh-0e41181d547e2f89ffc503a7afc8b0f3991dd1a8.tar.gz
zsh-0e41181d547e2f89ffc503a7afc8b0f3991dd1a8.tar.bz2
zsh-0e41181d547e2f89ffc503a7afc8b0f3991dd1a8.zip
chore: fix spelling errors across the project (#10459)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Diffstat (limited to 'plugins/fastfile')
-rw-r--r--plugins/fastfile/fastfile.plugin.zsh12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/fastfile/fastfile.plugin.zsh b/plugins/fastfile/fastfile.plugin.zsh
index ccbbce3b2..6288bb275 100644
--- a/plugins/fastfile/fastfile.plugin.zsh
+++ b/plugins/fastfile/fastfile.plugin.zsh
@@ -18,7 +18,7 @@ default fastfile_var_prefix "ยง"
# 1. name - The name of the shortcut (default: name of the file)
# 2. file - The file or directory to make the shortcut for
# STDOUT:
-# => fastfle_print
+# => fastfile_print
#
function fastfile() {
test "$2" || 2="."
@@ -75,14 +75,14 @@ function fastfile_print() {
# List all shortcuts
#
# STDOUT:
-# (=> fastfle_print) for each shortcut
+# (=> fastfile_print) for each shortcut
#
function fastfile_ls() {
for f in "${fastfile_dir}"/*(NF); do
- file=`basename "$f"` # To enable simpler handeling of spaces in file names
+ file=`basename "$f"` # To enable simpler handling of spaces in file names
varkey=`echo "$file" | tr " " "_"`
- # Special format for colums
+ # Special format for columns
echo "${fastfile_var_prefix}${varkey}|->|$(fastfile_get "$file")"
done | column -t -s "|"
}
@@ -93,7 +93,7 @@ function fastfile_ls() {
# Arguments:
# 1. name - The name of the shortcut (default: name of the file)
# STDOUT:
-# => fastfle_print
+# => fastfile_print
#
function fastfile_rm() {
fastfile_print "$1"
@@ -105,7 +105,7 @@ function fastfile_rm() {
#
function fastfile_sync() {
for f in "${fastfile_dir}"/*(NF); do
- file=`basename "$f"` # To enable simpler handeling of spaces in file names
+ file=`basename "$f"` # To enable simpler handling of spaces in file names
varkey=`echo "$file" | tr " " "_"`
alias -g "${fastfile_var_prefix}${varkey}"="'$(fastfile_get "$file")'"