hide crypted text
This commit is contained in:
@@ -37,10 +37,10 @@ then echo "File $1 does not exist. Creating empty file"
|
||||
else
|
||||
gpg --decrypt "$1" > "$unc"
|
||||
fi
|
||||
|
||||
LIB=$( dirname $( readlink -f $0 ) )/crypted.vim
|
||||
edit=`date +%s -r $unc`
|
||||
if [ -s "$unc" ]
|
||||
then vim -i NONE -n "$unc"
|
||||
then vim -i NONE -S "$LIB" -n "$unc"
|
||||
else echo Error in decrypting
|
||||
$RM "$unc"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user