Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
# include programs that bring their own completions
{
@@ -318,7 +323,8 @@ in
}
];
programs.fish.interactiveShellInit=''
programs.fish.interactiveShellInit=
lib.optionalStringcfg.generateCompletions''
# add completions generated by NixOS to $fish_complete_path
begin
# joins with null byte to accommodate all characters in paths, then respectively gets all paths before (exclusive) / after (inclusive) the first one including "generated_completions",
@@ -327,6 +333,8 @@ in
set -l post (string join0 $fish_complete_path | string match --regex "[^\x00]*generated_completions.*" | string split0 | string match -er ".")
set fish_complete_path $prev "/etc/fish/generated_completions" $post
end
''
+''
# prevent fish from generating completions on first run
if not test -d $__fish_user_data_dir/generated_completions