Removed product printing string
This commit is contained in:
3
vns
3
vns
@@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
# Vim Note System, a simple script for managing encrypted plaintext notes
|
||||
|
||||
readonly VNS_PRODUCT="Vim Note System, v2.0" # String to print for reports
|
||||
readonly VNS_STORE="${VNS_STORE:-$HOME/.vns}" # Where vns expects its note store
|
||||
GPG_TTY="$(tty)" # Sets up gpg-agent for use
|
||||
export GPG_TTY
|
||||
@@ -14,7 +13,6 @@ vns_raise (){
|
||||
local -r VNS_RED_COLOR='\033[0;31m'
|
||||
local -r VNS_RESET_COLOR='\033[0m'
|
||||
|
||||
printf "%s\\n\\n" "$VNS_PRODUCT"
|
||||
printf "$VNS_RED_COLOR!$VNS_RESET_COLOR - %s\\n" "$1" 1>&2
|
||||
exit "$2"
|
||||
|
||||
@@ -179,7 +177,6 @@ vns_rm () {
|
||||
# rm (note)
|
||||
# removes (note) from the store
|
||||
|
||||
printf "%s\\n\\n" "$VNS_PRODUCT"
|
||||
while [ "$#" -gt 0 ]; do
|
||||
# Verify $1 is bound
|
||||
if [ "$#" -lt 1 ]; then vns_raise "Insufficient arguments" 30; fi
|
||||
|
||||
Reference in New Issue
Block a user