mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
Suggest installing fish completions per-user
This uses $fish_complete_path[1], which should be in the user's home directory, so `sudo` is no longer needed.
This commit is contained in:
parent
a3f56a5f09
commit
707f429366
1 changed files with 2 additions and 3 deletions
|
@ -316,11 +316,10 @@ echo "source ~/.bash_completion/alacritty" >> ~/.bashrc
|
||||||
To install the completions for fish, run
|
To install the completions for fish, run
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo cp extra/completions/alacritty.fish $__fish_data_dir/vendor_completions.d/alacritty.fish
|
mkdir -p $fish_complete_path[1]
|
||||||
|
cp extra/completions/alacritty.fish $fish_complete_path[1]/alacritty.fish
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** For fish versions below 3.0 `$__fish_datadir` must be used instead.
|
|
||||||
|
|
||||||
## Terminfo
|
## Terminfo
|
||||||
|
|
||||||
The terminfo database contains entries describing the terminal
|
The terminfo database contains entries describing the terminal
|
||||||
|
|
Loading…
Reference in a new issue