Fixed new path creation for vns_create
This commit is contained in:
1
vns
1
vns
@@ -236,6 +236,7 @@ vns_create () {
|
|||||||
if [ ! -d "$(dirname "$1")" ]; then mkdir -p "$VNS_STORE/$(dirname "$1")"; fi
|
if [ ! -d "$(dirname "$1")" ]; then mkdir -p "$VNS_STORE/$(dirname "$1")"; fi
|
||||||
|
|
||||||
# Create empty note
|
# Create empty note
|
||||||
|
mkdir -p "$(dirname "$VNS_STORE/$1.gpg")"
|
||||||
vns_header "$(basename "$1")" | gpg --batch "$(vns_gpgid)" --encrypt -o "$VNS_STORE/$1.gpg"
|
vns_header "$(basename "$1")" | gpg --batch "$(vns_gpgid)" --encrypt -o "$VNS_STORE/$1.gpg"
|
||||||
|
|
||||||
# Edit the note
|
# Edit the note
|
||||||
|
|||||||
Reference in New Issue
Block a user