From 28543d91684581b0931dbe6173635d970e2276d0 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani <3fb650a9-b47e-4604-a282-1dd91953b2ee@anonaddy.me> Date: Sat, 17 Oct 2020 23:08:11 -0400 Subject: [PATCH] added purge option --- Makefile | 4 ++++ README.md | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d9ffea1..9ef379a 100644 --- a/Makefile +++ b/Makefile @@ -24,3 +24,7 @@ reinstall: >mkdir /usr/share/doc/charsel >cp README.md /usr/share/doc/charsel/ >cp ./charsel /usr/bin/ + +purge: +>rm -rf ~/.local/share/charsel/ +>rm -rf ~/.cache/charsel/ diff --git a/README.md b/README.md index a356335..9df7c54 100644 --- 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,7 +15,7 @@ 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 -h` +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 -- 2.39.2