Fix typos in comments

This commit is contained in:
ccoVeille
2025-01-19 21:34:42 +01:00
committed by Peter Ammon
parent 88c8992cc3
commit b6a1bedab9
30 changed files with 34 additions and 34 deletions

View File

@@ -32,7 +32,7 @@ functions d
# CHECK: '/mnt/c/Program Files (x86)/devenv.exe' /Edit $argv
# CHECK: end
# Use "command" to prevent recusion, and don't add --wraps to avoid accidental recursion in completion.
# Use "command" to prevent recursion, and don't add --wraps to avoid accidental recursion in completion.
alias e 'e --option=value'
functions e
# CHECK: # Defined via `source`

View File

@@ -12,7 +12,7 @@ rm $filename
set -l filename (echo foo | psub --testing --fifo)
test -p $filename
or echo 'psub is not a fifo' >&2
# hack: the background write that psub peforms may block
# hack: the background write that psub performs may block
# until someone opens the fifo for reading. So make sure we
# actually read it.
cat $filename >/dev/null

View File

@@ -87,7 +87,7 @@ string pad -c_ --width 5 longer-than-width-param x
# CHECK: ______________________x
# Current behavior is that only a single padding character is supported.
# We can support longer strings in future without breaking compatibilty.
# We can support longer strings in future without breaking compatibility.
string pad -c ab -w4 .
# CHECKERR: string pad: Padding should be a character 'ab'

View File

@@ -34,7 +34,7 @@ isolated-tmux send-keys abbr-test C-Space arg3 Enter
tmux-sleep
# CHECK: prompt {{\d+}}> abbr-test arg3
# Do not expand abbrevation if the cursor is not at the command, even if it's just white space.
# Do not expand abbreviation if the cursor is not at the command, even if it's just white space.
# This makes the behavior more consistent with the above two scenarios.
isolated-tmux send-keys abbr-test C-Space Enter
tmux-sleep

View File

@@ -39,7 +39,7 @@ sleep .1
kill -USR2 $fish_pid
sleep .1
# Send the signal and immediately define the function; it should not excute.
# Send the signal and immediately define the function; it should not execute.
kill -USR1 $fish_pid
function handle1 --on-signal SIGUSR1
gotsigusr1

View File

@@ -4,7 +4,7 @@ from pexpect_helper import SpawnedProc
sp = SpawnedProc(args=["-d", "reader"])
sp.expect_prompt()
# Verify we correctly diable mouse tracking.
# Verify we correctly disable mouse tracking.
# Five char sequence.
sp.send("\x1b[tDE")

View File

@@ -49,7 +49,7 @@ if fish_pid == tty_owner:
# It must not hang. But it might hang when trying to restore the tty.
os.kill(fish_pid, signal.SIGTERM)
# Loop a bit until the process exits (correct) or stops (incorrrect).
# Loop a bit until the process exits (correct) or stops (incorrect).
# When it exits it should be due to the SIGTERM that we sent it.
for i in range(50):
pid, status = os.waitpid(fish_pid, os.WUNTRACED | os.WNOHANG)