Skip to content

Commit

Permalink
fish: remove vendored direnv comp and update aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderio committed Nov 26, 2024
1 parent 4d1e374 commit 11f1f35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.
33 changes: 0 additions & 33 deletions home/shell/direnv.fish

This file was deleted.

5 changes: 2 additions & 3 deletions home/shell/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
enable = true;
shellAliases = {
ssh = "TERM=xterm-256color command ssh";
journal = ''nvim +"Neorg journal today"'';
cat = "${pkgs.bat}";
};

shellAbbrs = {
g = "git";
s = "git s";
d = "git diff";
ds = "git diff --cached";
sl = "git sl";
"dotdot" = {
regex = "^\\.\\.+$";
function = "multicd";
Expand Down Expand Up @@ -79,7 +80,6 @@
functions =
{
fish_greeting.body = "";
cat.body = "${pkgs.bat}/bin/bat $argv";
sops = {
description = "sops wrapper to extract age key from 1password";
body = ''
Expand Down Expand Up @@ -135,5 +135,4 @@
}
];
};
xdg.configFile."fish/completions/direnv.fish".source = ./direnv.fish;
}

0 comments on commit 11f1f35

Please sign in to comment.