mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 14:12:41 +00:00
Added hcpn script
This commit is contained in:
10
scripts/scripts/hcpn
Executable file
10
scripts/scripts/hcpn
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Creates a new `zet` inside the House Call Pro `Zettlekasten` directory.
|
||||
|
||||
dirname="$(isosec)"
|
||||
mkdir "${HCP_NOTES}/${dirname}"
|
||||
readme="${HCP_NOTES}/${dirname}/README.md"
|
||||
title="$*"
|
||||
printf "# %s\n\n" "${title}" > "${readme}"
|
||||
vi "${readme}"
|
||||
Reference in New Issue
Block a user