fix up fish aliases/abbrs

This commit is contained in:
atagen 2025-07-21 13:51:35 +10:00
parent af5e727222
commit b92b007050

View file

@ -1,11 +1,9 @@
{
pkgs,
inputs,
config,
...
}:
let
inherit (config) rice;
inherit (pkgs) fish;
in
{
@ -26,10 +24,19 @@ in
"gap" = "git commit -a --amend --no-edit && git push --force";
"gl" = "git pull";
"ga" = "git add";
"l" = "eza -lg --icons=always --colour=always | culr";
"la" = "eza -lg --icons=always --colour=always | culr";
"gcam" = "git commit -am";
};
shellAliases = {
"l" = "eza -lg --icons=always --colour=always $argv | culr";
"la" = "eza -lg --icons=always --colour=always $argv | culr";
"p" = "ps $argv | culr";
"mnt" = "mount | culr";
};
interactiveShellInit = ''
function fish_title
set -q argv[1]; or set argv fish
echo (fish_prompt_pwd_dir_length=100 prompt_pwd): $argv;
end
${./rice/header.sh}
'';
};