diff options
Diffstat (limited to 'users/seth/shell/fish.nix')
| -rw-r--r-- | users/seth/shell/fish.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/users/seth/shell/fish.nix b/users/seth/shell/fish.nix index d910c05..e74155b 100644 --- a/users/seth/shell/fish.nix +++ b/users/seth/shell/fish.nix @@ -20,6 +20,7 @@ in { enable = true; + # TODO: do i still need this weird sourcing? interactiveShellInit = '' set -l nixfile ${config.home.homeDirectory}/.nix-profile/etc/profile.d/nix.fish if test -e $nixfile @@ -27,8 +28,6 @@ in end ${lib.getExe pkgs.nix-your-shell} fish | source - - abbr -a !! --position anywhere --function last_history_item ''; functions = { @@ -37,6 +36,10 @@ in shellAbbrs = { nixgc = "sudo nix-collect-garbage -d && nix-collect-garbage -d"; + "!!" = { + position = "anywhere"; + function = "last_history_item"; + }; }; } |
