summaryrefslogtreecommitdiff
path: root/users/seth/shell
diff options
context:
space:
mode:
Diffstat (limited to 'users/seth/shell')
-rw-r--r--users/seth/shell/fish.nix3
-rw-r--r--users/seth/shell/zsh.nix3
2 files changed, 4 insertions, 2 deletions
diff --git a/users/seth/shell/fish.nix b/users/seth/shell/fish.nix
index fc241d0..279b021 100644
--- a/users/seth/shell/fish.nix
+++ b/users/seth/shell/fish.nix
@@ -1,5 +1,6 @@
{
config,
+ lib,
pkgs,
...
}: {
@@ -13,7 +14,7 @@
source $nixfile
end
- nix-your-shell fish | source
+ ${lib.getExe pkgs.nix-your-shell} fish | source
abbr -a !! --position anywhere --function last_history_item
'';
diff --git a/users/seth/shell/zsh.nix b/users/seth/shell/zsh.nix
index 23d5813..2842a1f 100644
--- a/users/seth/shell/zsh.nix
+++ b/users/seth/shell/zsh.nix
@@ -1,5 +1,6 @@
{
config,
+ lib,
pkgs,
...
}: {
@@ -30,7 +31,7 @@
promptinit
colors
- nix-your-shell zsh | source /dev/stdin
+ ${lib.getExe pkgs.nix-your-shell} zsh | source /dev/stdin
zmodload zsh/zutil
zmodload zsh/complist