Skip to content

Commit 11f1f35

Browse files
committed
fish: remove vendored direnv comp and update aliases
1 parent 4d1e374 commit 11f1f35

File tree

2 files changed

+2
-36
lines changed

2 files changed

+2
-36
lines changed

home/shell/direnv.fish

-33
This file was deleted.

home/shell/fish.nix

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
enable = true;
55
shellAliases = {
66
ssh = "TERM=xterm-256color command ssh";
7-
journal = ''nvim +"Neorg journal today"'';
7+
cat = "${pkgs.bat}";
88
};
99

1010
shellAbbrs = {
1111
g = "git";
1212
s = "git s";
1313
d = "git diff";
1414
ds = "git diff --cached";
15+
sl = "git sl";
1516
"dotdot" = {
1617
regex = "^\\.\\.+$";
1718
function = "multicd";
@@ -79,7 +80,6 @@
7980
functions =
8081
{
8182
fish_greeting.body = "";
82-
cat.body = "${pkgs.bat}/bin/bat $argv";
8383
sops = {
8484
description = "sops wrapper to extract age key from 1password";
8585
body = ''
@@ -135,5 +135,4 @@
135135
}
136136
];
137137
};
138-
xdg.configFile."fish/completions/direnv.fish".source = ./direnv.fish;
139138
}

0 commit comments

Comments
 (0)