grit aliases, tomp4 func

This commit is contained in:
dusk 2021-04-15 17:13:03 +03:00
parent e5967bb61c
commit 4ab26233b7
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
2 changed files with 7 additions and 0 deletions

View File

@ -43,6 +43,9 @@ in
let ifSudo = string: mkIf config.security.sudo.enable string;
in
{
gtw = "${pkgBin "grit"} tree wnv";
gt = pkgBin "grit";
g = pkgBin "git";
grep = "${pkgs.ripgrep}/bin/rg";

View File

@ -496,6 +496,10 @@ in
fi
'';
initExtra = ''
function tomp4 () {
${pkgs.ffmpeg}/bin/ffmpeg -i $1 -c:v libx264 -preset slow -crf 30 -c:a aac -b:a 128k $2
}
bindkey "$terminfo[kRIT5]" forward-word
bindkey "$terminfo[kLFT5]" backward-word
zstyle ':completion:*' menu select