feat(nix): add scripts for zk, edit, commit and rebuild

This commit is contained in:
Mohammad Rafiq 2025-07-09 04:20:46 +08:00
parent 782bbcbaa3
commit 08090fa25c
No known key found for this signature in database
5 changed files with 244 additions and 9 deletions

View file

@ -0,0 +1,9 @@
{ pkgs, ... }:
pkgs.writeShellScriptBin "note" # bash
''
zk edit -i
pushd ~/notebook > /dev/null
git add .
commit -u
popd > /dev/null
''