New command newfile

This commit is contained in:
Natsu Kagami 2023-09-07 23:34:54 +02:00
parent 1213b5a161
commit 563e261228
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -81,8 +81,10 @@ with lib;
description = "Search with ripgrep and put results into the editor";
};
echo-today = "date +%F";
newfile = "mkdir -p (dirname $argv[-1]) && touch $argv";
};
tide = {
nix-shell.enable = true;
};