writing: Add zk configuration to writing module
This commit is contained in:
parent
88ab8c10a6
commit
356d3ef3e6
2 changed files with 14 additions and 0 deletions
10
writing/.config/sh/alias.d/zk.sh
Normal file
10
writing/.config/sh/alias.d/zk.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env sh
|
||||
#
|
||||
|
||||
n() {
|
||||
if [ $# -eq 0 ]; then
|
||||
zk edit -i
|
||||
else
|
||||
zk "${@}"
|
||||
fi
|
||||
}
|
4
writing/.config/sh/env.d/zk.sh
Normal file
4
writing/.config/sh/env.d/zk.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
#
|
||||
|
||||
export ZK_NOTEBOOK_DIR="${WIKIROOT:-~/documents/notes/}/pinky"
|
Loading…
Reference in a new issue