Skip to content

Commit a6e42c4

Browse files
committed
fish: aliases
1 parent 185169c commit a6e42c4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

home/fish.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
'';
4848
shellAbbrs = {
4949
g = "git";
50-
d = "dlv --headless -l 'localhost:2345'";
50+
v = "vim";
51+
d = "dlv --headless -l 'localhost:2345' debug";
5152
};
5253
functions = {
5354
fish_title = {
@@ -93,6 +94,8 @@
9394
shellAliases = {
9495
ag = "rg";
9596
cat = "bat";
97+
cd = "z";
98+
cdi = "zi";
9699
cloc = "tokei";
97100
dstat = "dool --color16";
98101
debug_attachable = "sudo sysctl -w kernel.yama.ptrace_scope=0";
@@ -105,7 +108,7 @@
105108
c = "cd (git rev-parse --show-toplevel)";
106109
sloc = "tokei";
107110
s = "kitten ssh";
108-
v = "vim (git f)";
111+
vs = "vim (git f)";
109112
vim = "nvim";
110113
vimdiff = "nvim -d";
111114
};

0 commit comments

Comments
 (0)