diff --git a/profiles/core.nix b/profiles/core.nix index bfd8666..4da1643 100644 --- a/profiles/core.nix +++ b/profiles/core.nix @@ -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"; diff --git a/users/patriot/home.nix b/users/patriot/home.nix index 4595c67..482b5bd 100644 --- a/users/patriot/home.nix +++ b/users/patriot/home.nix @@ -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