Update README.md

Updated C instructions
This commit is contained in:
phixxy 2026-03-21 14:23:35 -07:00
parent 16f21b4a9a
commit 12d0ac2d33

View file

@ -5,12 +5,19 @@ A cli program to quickly create and edit temporary files
Requirements:
python3 > 3.6, or a C compiler.
## Installation:
## Python Installation:
mv skratch.py /usr/local/bin/skratch
chmod +x /usr/local/bin/skratch
set an env variable for $EDITOR and/or $VISUAL in .bashrc
## C Installation:
gcc skratch.c -o skratch
mv skratch /usr/local/bin/skratch
chmod +x /usr/local/bin/skratch
## Post Installation
Set an env variable for $EDITOR and/or $VISUAL in .bashrc
export EDITOR=vi
export VISUAL=geany
@ -28,7 +35,3 @@ set an env variable for $EDITOR and/or $VISUAL in .bashrc
`-s` adds a suffix to the file
`-v` uses the VISUAL editor
## Todo:
`-s` does not currently work in the C version.