about summary refs log tree commit diff
path: root/Functions/Misc/relative
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Misc/relative')
-rw-r--r--Functions/Misc/relative2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/relative b/Functions/Misc/relative
index f649e51e7..432f2e2da 100644
--- a/Functions/Misc/relative
+++ b/Functions/Misc/relative
@@ -15,7 +15,7 @@ local -a cur abs
 cur=(${(s:/:)2})	# Split 'current' directory into cur
 abs=(${(s:/:)1} $3)	# Split target directory into abs
 
-# Compute the length of the common prefix, or discover a subdiretory:
+# Compute the length of the common prefix, or discover a subdirectory:
 integer i=1
 while [[ i -le $#abs && $abs[i] == $cur[i] ]]
 do