Skip to content

Commit 603dafb

Browse files
committed
home(cli/fish/zoxide): init
1 parent 2ea3847 commit 603dafb

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

home/gabriel/features/cli/fish/default.nix

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
in {
1515
imports = [
1616
./tide.nix
17+
./zoxide.nix
1718
./bindings.nix
1819
];
1920
home.packages = [pkgs.bash-completion];
@@ -22,21 +23,6 @@ in {
2223
shellAbbrs = rec {
2324
jqless = "jq -C | less -r";
2425

25-
n = "nix";
26-
nd = "nix develop -c $SHELL";
27-
ns = "nix shell";
28-
nsn = "nix shell nixpkgs#";
29-
nb = "nix build";
30-
nbn = "nix build nixpkgs#";
31-
nf = "nix flake";
32-
33-
nr = "nixos-rebuild --flake .";
34-
nrs = "nixos-rebuild --flake . switch";
35-
snr = "sudo nixos-rebuild --flake .";
36-
snrs = "sudo nixos-rebuild --flake . switch";
37-
hm = "home-manager --flake .";
38-
hms = "home-manager --flake . switch";
39-
4026
s = mkIf hasSpecialisationCli "specialisation";
4127

4228
ls = mkIf hasEza "eza";
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{pkgs, ...}: {
2+
home.packages = [pkgs.zoxide];
3+
programs.fish = {
4+
plugins = [{
5+
name = "zoxide";
6+
src = pkgs.fetchFromGitHub {
7+
owner = "icezyclon";
8+
repo = "zoxide.fish";
9+
rev = "27a058a661e2eba021b90e9248517b6c47a22674";
10+
hash = "sha256-OjrX0d8VjDMxiI5JlJPyu/scTs/fS/f5ehVyhAA/KDM=";
11+
};
12+
}];
13+
};
14+
}
15+

0 commit comments

Comments
 (0)