mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
chore: fix spelling errors across the project (#10459)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
1c1d74c5ec
commit
0e41181d54
49 changed files with 79 additions and 79 deletions
|
|
@ -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")'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue