Skip to content

Commit b75e5ee

Browse files
authored
remove repetitive words (fish-shell#10348)
Signed-off-by: hishope <csqiye@126.com>
1 parent 80133c4 commit b75e5ee

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

share/completions/cargo.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ end
2626
complete -c cargo -n '__fish_seen_subcommand_from run test build debug check' -l package \
2727
-xa "(__fish_cargo_packages)"
2828

29-
# Look up crates.io crates matching the the single argument provided to this function
29+
# Look up crates.io crates matching the single argument provided to this function
3030
function __fish_cargo_search
3131
if test (string length -- "$argv[1]") -le 2
3232
# Don't waste time searching for strings with too many results to realistically

share/completions/opkg.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ complete -c opkg -s A -d 'Query all packages not just those installed'
6262
complete -c opkg -s V -l verbosity -d 'Set verbosity level to <level>'
6363
complete -c opkg -s f -l conf -d 'Use <conf_file> as the opkg configuration file'
6464
complete -c opkg -l cache -d 'Use a package cache'
65-
complete -c opkg -s d -l dest -d 'Use <dest_name> as the the root directory'
65+
complete -c opkg -s d -l dest -d 'Use <dest_name> as the root directory'
6666
complete -c opkg -s o -l offline-root -d 'Use <dir> as the root directory for offline'
6767
complete -c opkg -l add-arch -d 'Register architecture with given priority'
6868
complete -c opkg -l add-dest -d 'Register destination with given path'

share/functions/fish_config.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ function fish_config --description "Launch fish's web based configuration"
184184
echo -ns (set_color $fish_color_command || set_color $fish_color_normal) Th
185185
set_color normal
186186
set_color $fish_color_autosuggestion || set_color $fish_color_normal
187-
echo is is an autosuggestion
187+
echo is an autosuggestion
188188
echo
189189
case show
190190
set -l fish (status fish-path)

src/curses.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! that's not directly exposed in any of the popular ncurses crates.
33
//!
44
//! In addition to exposing the C library ffi calls, we also shim around some functionality that's
5-
//! only made available via the the ncurses headers to C code via macro magic, such as polyfilling
5+
//! only made available via the ncurses headers to C code via macro magic, such as polyfilling
66
//! missing capability strings to shoe-in missing support for certain terminal sequences.
77
//!
88
//! This is intentionally very bare bones and only implements the subset of curses functionality

src/wcstringutil.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ pub fn split_string(val: &wstr, sep: char) -> Vec<WString> {
334334
/// Note the delimiters are the characters in \p seps, not \p seps itself.
335335
/// \p seps may contain the NUL character.
336336
/// Do not output more than \p max_results results. If we are to output exactly that much,
337-
/// the last output is the the remainder of the input, including leading delimiters,
337+
/// the last output is the remainder of the input, including leading delimiters,
338338
/// except for the first. This is historical behavior.
339339
/// Example: split_string_tok(" a b c ", " ", 3) -> {"a", "b", " c "}
340340
pub fn split_string_tok<'val>(

src/wildcard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub const ANY_STRING: char = char_offset(WILDCARD_RESERVED_BASE, 1);
3636
/// Character representing any character string.
3737
pub const ANY_STRING_RECURSIVE: char = char_offset(WILDCARD_RESERVED_BASE, 2);
3838
/// This is a special pseudo-char that is not used other than to mark the
39-
/// end of the the special characters so we can sanity check the enum range.
39+
/// end of the special characters so we can sanity check the enum range.
4040
pub const ANY_SENTINEL: char = char_offset(WILDCARD_RESERVED_BASE, 3);
4141

4242
#[derive(PartialEq)]

0 commit comments

Comments
 (0)