Skip to content

Commit 9ce97de

Browse files
committed
added environment support for NOTESDIR in environment closes #16
1 parent e53f788 commit 9ce97de

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ROADMAP

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313
IN NEXT RELEASE (IMPLEMENTED)
1414
- packaged as a tarball with SHA256
15+
- Debian .DEB packaging
16+
- Added a 'tree' subcommand for paging through the notes directory
17+
- $NOTESDIR env support
1518

1619
FUTURE FEATURES
1720
- dedicated diary/journal function
@@ -20,7 +23,6 @@ FUTURE FEATURES
2023
- different gpg keys per notebook
2124
- git integration
2225
- bash/zsh completion
23-
- Debian .DEB packaging
2426
- FreeBSD .PKG packaging
2527
- FreeBSD ports configuration
26-
28+
- XDG environment support

notes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# VARIABLES
1010
VERSION=1.0
1111
#NOTES_UMASK='077'
12-
NOTESDIR="${HOME}/.notes"
12+
NOTESDIR="${NOTESDIR:-${HOME}/.notes}"
1313
CONFIGFILE="${NOTESDIR}/config"
1414
INITIAL_NOTEBOOK="${NOTESDIR}/notes"
1515
DEFAULT_POINTER="${NOTESDIR}/DEFAULT"

0 commit comments

Comments
 (0)