aboutsummaryrefslogtreecommitdiff
path: root/home-manager/fish
diff options
context:
space:
mode:
authoraethrvmn <me@aethrvmn.gr>2025-10-24 14:39:57 +0000
committeraethrvmn <me@aethrvmn.gr>2025-10-24 14:39:57 +0000
commit6c769f45f783122267f66a3ddeed8d895b73bcb9 (patch)
treea30adfdd1a664dc6e6367b0c213d06fe9c9bfa7d /home-manager/fish
parentremoved permanent fetch bin (diff)
removed stuff and added comments
Diffstat (limited to 'home-manager/fish')
-rw-r--r--home-manager/fish/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/home-manager/fish/default.nix b/home-manager/fish/default.nix
index 2e88821..6bb6aaa 100644
--- a/home-manager/fish/default.nix
+++ b/home-manager/fish/default.nix
@@ -5,10 +5,11 @@
generateCompletions = true;
interactiveShellInit = ''
- set fish_greeting # Disable greeting
+ set fish_greeting # disable greeting
complete -c nixos -f
+ # autocomplete for `nixos` command
complete -c nixos \
-n "__fish_use_subcommand" \
-a "update" \
@@ -29,6 +30,7 @@
-a "clean" \
-d "Clean nix store"
+ # make `nixos config` autocomplete based on $HOME/.nix
complete -c nixos \
-n "__fish_seen_subcommand_from config" \
-a "(__fish_nixos_config_files)" \
@@ -51,9 +53,7 @@
fetch = "nix run nixpkgs#pfetch";
};
- # shellInitLast = ''
- # # atuin init fish | source
- # '';
+ shellInitLast = '''';
functions = {
__fish_nixos_config_files = ''
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.