From 563e2612289af81231237f7b8192f6d2e049e7f6 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Thu, 7 Sep 2023 23:34:54 +0200 Subject: [PATCH] New command newfile --- home/fish/fish.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/fish/fish.nix b/home/fish/fish.nix index c3e7c86..454cd77 100644 --- a/home/fish/fish.nix +++ b/home/fish/fish.nix @@ -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; };