about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorr-vdp <ramses@well-founded.dev>2023-10-19 08:40:56 +0200
committerr-vdp <ramses@well-founded.dev>2023-10-19 08:40:56 +0200
commit97e3336a5b3690c915981f3cfad34d1c9061eb5d (patch)
tree1a527925641af8987fbe384b968a0caa921d8a4c /nixos/modules/programs
parent458ef9126aa380996d77d44f53f886c2d8485f53 (diff)
fish: use the subcommand style for the status command
The flag style has been deprecated and will eventually be removed.
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/fish.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/fish.nix b/nixos/modules/programs/fish.nix
index b500b8f24b2cb..e6ac6e9957bac 100644
--- a/nixos/modules/programs/fish.nix
+++ b/nixos/modules/programs/fish.nix
@@ -208,7 +208,7 @@ in
         end
 
         # if we haven't sourced the login config, do it
-        status --is-login; and not set -q __fish_nixos_login_config_sourced
+        status is-login; and not set -q __fish_nixos_login_config_sourced
         and begin
           ${sourceEnv "loginShellInit"}
 
@@ -220,7 +220,7 @@ in
         end
 
         # if we haven't sourced the interactive config, do it
-        status --is-interactive; and not set -q __fish_nixos_interactive_config_sourced
+        status is-interactive; and not set -q __fish_nixos_interactive_config_sourced
         and begin
           ${fishAbbrs}
           ${fishAliases}