mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +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}"
|
||||
@@ -5,7 +5,7 @@ set autowrite " automatically write files when changing
|
||||
set background=dark
|
||||
set backspace=indent,eol,start
|
||||
set belloff=all
|
||||
" set colorcolumn=120
|
||||
set colorcolumn=120
|
||||
set expandtab " replace tabs with spaces automatically
|
||||
set exrc
|
||||
set foldmethod=manual
|
||||
|
||||
@@ -19,7 +19,9 @@ export BUCKET="/Volumes/Bucket"
|
||||
export ARCHIVE="/Volumes/Archive"
|
||||
export REPOS="$BUCKET/Repos"
|
||||
export GHREPOS="$REPOS/github.com/$GITUSER"
|
||||
export HHEREPOS="$BUCKET/Repos/github.com/hhe-dev"
|
||||
export LOCAL_REPOS="$REPOS/local"
|
||||
export HCP_NOTES="$HHEREPOS/hcp-notes"
|
||||
export DOCUMENTS="$HOME/Documents"
|
||||
export DOWNLOADS="$HOME/Downloads"
|
||||
export PDFS="$HOME/Library/Mobile Documents/com~apple~Preview/Documents"
|
||||
|
||||
Reference in New Issue
Block a user