Sweeping refinements and formatting changes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PROD_STR="Simple Note System"
|
||||
VER_STR="v2.0a8"
|
||||
VER_STR="v2.0a9"
|
||||
YEAR=2016
|
||||
|
||||
cat << EOF
|
||||
@@ -12,6 +12,7 @@ cat << EOF
|
||||
# Prevent freak accidents involving the root directory
|
||||
if [ -z "\$HOME" ]; then HOME=/home/"\$(whoami)"; fi
|
||||
|
||||
# Store files and locations
|
||||
readonly PROD_STR="$PROD_STR"
|
||||
readonly VER_STR="$VER_STR"
|
||||
readonly ROOT_DIR="\$HOME"/.config/sns
|
||||
@@ -19,9 +20,11 @@ readonly NOTES_DIR="\$ROOT_DIR"/notes
|
||||
readonly TMP_DIR="\$ROOT_DIR"/tmp
|
||||
readonly CONFIG_FILE="\$ROOT_DIR/sns.conf"
|
||||
|
||||
#Color codes for error reporting
|
||||
readonly RED_COLOR='\033[1;31m'
|
||||
readonly RESET_COLOR='\033[0m'
|
||||
|
||||
#Print the program header to stdout
|
||||
printf "%s\n" "\$PROD_STR"
|
||||
printf "%s\n" "------------------"
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user