summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kasi.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/kasi.el b/kasi.el
index 1efd02b..eed9cb1 100644
--- a/kasi.el
+++ b/kasi.el
@@ -51,7 +51,9 @@
51 (totp \"\") 51 (totp \"\")
52 (extra-notes \"\"))\n" 52 (extra-notes \"\"))\n"
53 "Template that gets filled in to newly created secret files. 53 "Template that gets filled in to newly created secret files.
54Two %s are needed for password and username for now.") 54Two %s are needed for password and username for now."
55 :type 'string
56 :group 'kasi)
55 57
56(defvar kasi-version "1.0") 58(defvar kasi-version "1.0")
57 59
@@ -120,7 +122,7 @@ Uses /dev/urandom for cryptographic security."
120 kasi-dir file kasi-extension))) 122 kasi-dir file kasi-extension)))
121 (mkdir (format "%s/%s" 123 (mkdir (format "%s/%s"
122 kasi-dir 124 kasi-dir
123 (car (f-split file))) 125 (car (split-string file "/")))
124 t) 126 t)
125 (with-temp-file filename 127 (with-temp-file filename
126 (insert (format kasi-template 128 (insert (format kasi-template