feat(nix): add scripts for zk, edit, commit and rebuild
This commit is contained in:
parent
782bbcbaa3
commit
08090fa25c
5 changed files with 244 additions and 9 deletions
9
nix/homes/rafiq/_scripts/note.nix
Normal file
9
nix/homes/rafiq/_scripts/note.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
pkgs.writeShellScriptBin "note" # bash
|
||||
''
|
||||
zk edit -i
|
||||
pushd ~/notebook > /dev/null
|
||||
git add .
|
||||
commit -u
|
||||
popd > /dev/null
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue