1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-17 22:08:17 +00:00
home-manager/modules
carschandler f8bb0ba6de
zoxide: update mkOrder to place bash configuration at end of bashrc (#6572)
I updated my flake a few weeks back and `zoxide` has been giving me an error recently:

```
zoxide: detected a possible configuration issue.
Please ensure that zoxide is initialized right at the end of your shell configuration file (usually ~/.bashrc).

If the issue persists, consider filing an issue at:
https://github.com/ajeetdsouza/zoxide/issues

Disable this message by setting _ZO_DOCTOR=0.
```

To be fair, I haven't noticed any issues with `zoxide` apart from this error message.

The `zoxide` eval statement in my `.bashrc` is not "right at the end" of the file as mentioned in the message which isn't surprising given that it is given a `mkOrder 150`. In my own config, I increased this to `2000` (to ensure it comes after any `mkAfter`s which are `mkOrder 1500` to ensure it happens at the end of the script. After doing so, it appears at the end of my `bashrc` and I no longer get the error message.
2025-03-09 22:50:41 -05:00
..
accounts treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
config home-cursor: use home.sessionSearchVariables for XCURSOR_PATH 2025-03-09 09:36:41 -05:00
files files: make collision error message more helpful 2024-04-30 00:41:45 +02:00
i18n/input-method im/fcitx5: use home.sessionSearchVariables for QT_PLUGIN_PATH 2025-03-09 09:36:41 -05:00
launchd launchd: sync up with changes from nix-darwin (#6508) 2025-02-27 17:38:18 -06:00
lib home-environment: add home.sessionSearchVariables 2025-03-09 09:36:41 -05:00
lib-bash home-manager: move profile management 2025-01-03 11:22:59 +01:00
misc debug: make NIX_DEBUG_INFO_DIRS a list of strings (#6595) 2025-03-09 12:20:08 -05:00
po Translate using Weblate (Chinese (Traditional Han script)) (#6581) 2025-03-09 00:41:38 -06:00
programs zoxide: update mkOrder to place bash configuration at end of bashrc (#6572) 2025-03-09 22:50:41 -05:00
services podman: fix podman-user-wait-network-online (#6586) 2025-03-08 13:22:11 -06:00
targets targets/generic-linux: use home.sessionSearchVariables for XCURSOR_PATH 2025-03-09 09:36:41 -05:00
default.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
files.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
home-environment.nix home-environment: add line-break after sessionSearchVariables (#6596) 2025-03-09 12:57:44 -05:00
manual.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
modules.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
systemd-activate.sh systemd: don't try to restart templates 2024-06-26 18:14:48 +02:00
systemd.nix systemd: use sd-switch by default 2025-01-01 16:31:32 +01:00
wayland.nix wayland: create tray.target if xsession is not enabled (#6332) 2025-02-06 22:50:03 +01:00
xresources.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
xsession.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00