diff --git a/README.md b/README.md index 3a6a392..ab3e3c1 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ To remove, run:
$ sudo make uninstall
2. If you do not have git installed: -Download the development version source code. Extract, cd into the directory and run: +Download the latest stable release or development version source code. Extract, cd into the directory and run:
$ sudo make install
If you do not want to install, `markit` is standalone:
$ chmod +x markit
diff --git a/markit b/markit
index 1e91cb5..0d8e3df 100755
--- a/markit
+++ b/markit
@@ -61,7 +61,7 @@ def usage():
     print("                             any other option shows help and exits markit\n")
     print("Keys")
     print("  1-N                        open Nth search result in browser. Enter exits markit.\n")
-    print("Version 0.1")
+    print("Version 1.0")
     print("Copyright (C) 2015 Arun Prakash Jana ")
     print("Webpage: https://github.com/jarun/markit")
     sys.exit(1)
@@ -259,7 +259,7 @@ def searchdb(cur, keywords):
     for row in cur.execute(query, arguments):
         results.append(row[0])
         count += 1
-        print("\x1B[1m\x1B[93m%d. \x1B[0m\x1B[92m%s\x1B[0m\n\t%s\n\t[TAGS] %s" % (count, row[0], row[1], row[2][1:-1]))
+        print("\x1B[1m\x1B[93m%d. \x1B[0m\x1B[92m%s\x1B[0m\n\t%s\n\t\x1B[91m[TAGS]\x1B[0m %s" % (count, row[0], row[1], row[2][1:-1]))
 
     if count == 0:
         return
@@ -319,11 +319,11 @@ def cleardb(conn, cur, entry):
 def printdb(cur, showindex):
     if showindex == None: # Show all entries
         for row in cur.execute('SELECT * FROM bookmarks'):
-            print("\x1B[1m\x1B[93m%s. \x1B[0m\x1B[92m%s\x1B[0m\n\t%s\n\t[TAGS] %s" % (row[0], row[1], row[2], row[3][1:-1]))
+            print("\x1B[1m\x1B[93m%s. \x1B[0m\x1B[92m%s\x1B[0m\n\t%s\n\t\x1B[91m[TAGS]\x1B[0m %s" % (row[0], row[1], row[2], row[3][1:-1]))
     else: # Show record at index showindex
         try:
             for row in cur.execute("SELECT * FROM bookmarks WHERE id = ?", (int(showindex),)):
-                print("\x1B[1m\x1B[93m%s. \x1B[0m\x1B[92m%s\x1B[0m\n\t%s\n\t[TAGS] %s" % (row[0], row[1], row[2], row[3][1:-1]))
+                print("\x1B[1m\x1B[93m%s. \x1B[0m\x1B[92m%s\x1B[0m\n\t%s\n\t\x1B[91m[TAGS]\x1B[0m %s" % (row[0], row[1], row[2], row[3][1:-1]))
                 return
             print("No matching index")
         except IndexError:
diff --git a/markit.1 b/markit.1
index 722e351..f6e299c 100644
--- a/markit.1
+++ b/markit.1
@@ -1,4 +1,4 @@
-.TH "MARKIT" "1" "November 2015" "Version 0.1" "User Commands"
+.TH "MARKIT" "1" "November 2015" "Version 1.0" "User Commands"
 .SH NAME
 markit \- Bookmark manager. Your private Google.
 .SH SYNOPSIS
diff --git a/markit.png b/markit.png
new file mode 100644
index 0000000..1bbbbac
Binary files /dev/null and b/markit.png differ