Added EDITOR default to blackbox_edit; Created blackbox_view

This commit is contained in:
Bryan Roberts
2015-02-14 20:00:34 -05:00
parent 86fe5ae352
commit 0e5fdf6fa3
2 changed files with 29 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
# blackbox_edit.sh -- Decrypt a file temporarily for edition, then re-encrypts it again
#
set -e
[ -z $EDITOR ] && EDITOR="vi"
blackbox_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source ${blackbox_home}/_blackbox_common.sh