fix up fish aliases/abbrs
This commit is contained in:
parent
c68a6ddd78
commit
cb3d7b6588
1 changed files with 11 additions and 4 deletions
|
@ -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}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue