diff --git a/programs/aliases.nix b/programs/aliases.nix index bd49e2e..7edf87b 100644 --- a/programs/aliases.nix +++ b/programs/aliases.nix @@ -1,6 +1,7 @@ { "vim".command = "hx"; "dig".command = "doggo"; + "where".command = "which -a"; "glol" = { command = "git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset'"; diff --git a/programs/fish.nix b/programs/fish.nix index bf3413f..d9ec00d 100644 --- a/programs/fish.nix +++ b/programs/fish.nix @@ -17,14 +17,6 @@ in { mkdir "$dir" cd "$dir" ''; - where = '' - set name $argv[1] - for p in $PATH - if test -e "$p/$name" - echo "$p/$name" - end - end - ''; }; };