]> git.armaanb.net Git - charsel.git/blobdiff - README.md
properly added shell completions
[charsel.git] / README.md
index 295998dcac59bf9c4b41e8236fbb2513dac3e778..a3705005485140acc0c9c531e46c9d1789e65a22 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,11 +1,12 @@
 # CHARSEL
 A simple bash script to make copying frequently used special characters to your clipboard easy.
 
-It uses a plain-text file known as a "charfile" to define shortcuts to special characters that are easy to access on the keyboard.
+It uses a plain-text file known as a "charfile" to define easy to reach shortcuts to special characters
 
 ## Installation
-Run `make install` as root to install
-Run `make uninstall` as root to remove. Will not delete your personal charfiles
+- Run `make install` as root to install
+- Run `make uninstall` as root to remove. Will not delete your personal charfiles
+- Run `make purge` as a normal user to remove charsel files from your home directory
 
 ## Dependencies
   * Bash
@@ -14,16 +15,19 @@ Run `make uninstall` as root to remove. Will not delete your personal charfiles
   * A terminal with UTF-8 encoding enabled
 
 ## Usage
-For usage, use `charsel --help`
+For argument usage, use `charsel -h`
 
-Once you have started the program, simply type the shortcut listed on the left side of the table to copy the character on the right side of the table to your clipboard. Shortcodes the same length as the longest one will automatically be entered. To quit, use ^C
+Once you [have](have) started the program, simply type the shortcut listed on the left side of the table to copy the character on the right side of the table to your clipboard. Shortcodes the same length as the longest one will automatically be entered. To quit, type ';' as a shortcode
 
 Some of the default charfiles have hidden shortcuts for capital letters that are not shown on the table. Simply type a capital version of the shortcut key to access the capital version of the special character.
 
 ## Creating a charfile
-Make a new file in `~/.local/share/charsel/` or `/usr/share/charsel` with the name that you would like to use to call the charfile in the command.
+Make a new file in the `~/.local/share/charsel/charfiles/` or `/usr/share/charsel/charfiles/` directories with the name that you would like to use to call the charfile in the command.
 
-Fill it in, using the provided examples as a template. Hidden shortcuts go above the '-', lines can be commented out using a '#' at the start of the line
+Fill it in, using the provided examples as a template. Hidden shortcuts go above the '-', lines can be commented out using a '#' at the start of the line. ';' cannot be used as a shortcode, as that is used to quit the program
+
+## Shell completions
+There is a shell completion script provided. To install it, use `make install-completions`
 
 ## License
 Charfile is GNU GPLv3 licensed, see COPYING for more information