1

feat: add a bunch of qol improvements to cli experience

This commit is contained in:
Himadri Bhattacharjee
2024-07-28 20:19:15 +05:30
parent 82658713b5
commit 6cbeffbaf4

View File

@@ -6,8 +6,11 @@
shellAliases = {
ls = "${pkgs.eza}/bin/eza -la --icons=always";
cat = "${pkgs.bat}/bin/bat -p";
nuke = "set here $PWD; cd ..; rm $here -rf";
nuke = "set here $PWD; prevd; rm $here -rf";
};
interactiveShellInit = ''
bind \cx cd_zoxide_abbreviation
'';
functions = {
fish_prompt = {
body = ''
@@ -38,6 +41,10 @@
'';
};
fish_greeting.body = "";
cd_zoxide_abbreviation.body = ''
__zoxide_zi
commandline -f repaint
'';
};
};
}