1
0
Fork 0
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:
Fabian Homborg 2019-06-30 18:04:09 +02:00 committed by Christian Duerr
parent a3f56a5f09
commit 707f429366

View file

@ -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