mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
build_lexicon_filter: drop which dependency
This commit is contained in:
parent
7d055a120e
commit
e98ecf9cfa
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ rm -f lexicon.tmp lexicon_catalog.tmp lexicon_catalog.txt lexicon.txt
|
||||||
FUNCTIONS_DIR_FILES=${1}/*.fish
|
FUNCTIONS_DIR_FILES=${1}/*.fish
|
||||||
COMPLETIONS_DIR_FILES=${2}/*.fish
|
COMPLETIONS_DIR_FILES=${2}/*.fish
|
||||||
|
|
||||||
SED=${3:-$(which sed)}
|
SED=${3:-$(command -v sed)}
|
||||||
|
|
||||||
# Scan sources for commands/functions/binaries/colours. If GNU sed was portable, this could be much smarter.
|
# Scan sources for commands/functions/binaries/colours. If GNU sed was portable, this could be much smarter.
|
||||||
$SED <command_list_toc.txt >>lexicon.tmp -n \
|
$SED <command_list_toc.txt >>lexicon.tmp -n \
|
||||||
|
|
Loading…
Reference in a new issue