mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
add completions for source and document the move away from '.'
Closes: #310
This commit is contained in:
parent
cf766b55cc
commit
edc4614e63
4 changed files with 7 additions and 2 deletions
|
@ -233,7 +233,7 @@ TESTS_DIR_FILES := $(TEST_IN) $(TEST_IN:.in=.out) $(TEST_IN:.in=.err) \
|
|||
# Files in ./share/completions/
|
||||
#
|
||||
|
||||
COMPLETIONS_DIR_FILES := $(wildcard share/completions/*.fish)
|
||||
COMPLETIONS_DIR_FILES := $(wildcard share/completions/*.fish) share/completions/..fish
|
||||
|
||||
|
||||
#
|
||||
|
|
|
@ -20,6 +20,10 @@ The return status of \c source is the return status of the last job to
|
|||
execute. If something goes wrong while opening or reading the file,
|
||||
\c source exits with a non-zero status.
|
||||
|
||||
\c . (a single period) is an alias for the \c source command. The use of \c .
|
||||
is deprecated in favour of \c source, and \c . will be removed in a future
|
||||
version of fish.
|
||||
|
||||
\subsection source-example Example
|
||||
|
||||
<tt>source ~/.config/fish/config.fish</tt> causes fish to re-read its initialization file.
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
complete -c . -x -a "(__fish_complete_suffix .fish)"
|
1
share/completions/..fish
Symbolic link
1
share/completions/..fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
source.fish
|
1
share/completions/source.fish
Normal file
1
share/completions/source.fish
Normal file
|
@ -0,0 +1 @@
|
|||
complete -c . -x -a "(__fish_complete_suffix .fish)"
|
Loading…
Reference in a new issue