mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: fish: removed sourcing completion hack
This commit is contained in:
parent
afc18d1201
commit
43a15030af
3 changed files with 0 additions and 16 deletions
|
|
@ -20,22 +20,12 @@
|
|||
(builtins.concatStringsSep "\n")
|
||||
(s: s + "\n")
|
||||
];
|
||||
|
||||
source_completions =
|
||||
cs:
|
||||
lib.trivial.pipe cs [
|
||||
(map (c: "source ${c}/share/fish/vendor_completions.d/*.fish"))
|
||||
(builtins.concatStringsSep "\n")
|
||||
(s: s + "\n")
|
||||
];
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
|
||||
shellInit =
|
||||
readConfig "shellInit"
|
||||
# Source packages that are not linked
|
||||
+ source_completions config.fish.extraCompletions
|
||||
# Just in case $PATH is broken, add them in an idempotent fashion
|
||||
+ add_paths (
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue