You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: detect Nix install path for fish and tcsh shell aliases (#921)
When Granted is installed via Nix, the shell scripts (assume.fish,
assume.tcsh) are placed in the share/ directory rather than bin/.
This causes the shell alias setup to generate incorrect paths for
fish and tcsh users.
This commit adds detection for Nix installations by checking if the
granted binary is located in /nix/store/. When detected, the alias
is generated with the correct path to the share/ directory.
Fixes#920
Co-authored-by: Reuben Brooks <reuben.brooks@facilitygrid.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments