Make program integrations conditional on shell
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
_: {
|
||||
{shell, ...}: {
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
enableBashIntegration = true;
|
||||
enableFishIntegration =
|
||||
if shell == "fish"
|
||||
then true
|
||||
else false;
|
||||
enableBashIntegration =
|
||||
if shell == "bash"
|
||||
then true
|
||||
else false;
|
||||
options = [
|
||||
"--cmd cd"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user