1 { lib, stdenvNoCC, fetchFromGitHub, installShellFiles }:
3 stdenvNoCC.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-6/3+FtHGyVmuOtmuKhboiQ40ECini/0OwvKcftIjIIM=";
14 nativeBuildInputs = [ installShellFiles ];
17 install -Dm755 wd.plugin.zsh $out/share/wd/wd.plugin.zsh
18 install -Dm755 wd.sh $out/share/wd/wd.sh
20 installShellCompletion --zsh _wd.sh
24 description = "Jump to custom directories in zsh";
26 `wd` (warp directory) lets you jump to custom directories in zsh, without
27 using `cd`. Why? Because `cd` seems inefficient when the folder is
28 frequently visited or has a long path.
30 homepage = "https://github.com/mfaerevaag/wd";
31 changelog = "https://github.com/mfaerevaag/wd/releases/tag/v${version}";
32 license = licenses.mit;
33 maintainers = [ maintainers.zimeg ];
35 platforms = platforms.unix;