Update README.md
Updated C instructions
This commit is contained in:
parent
16f21b4a9a
commit
12d0ac2d33
1 changed files with 9 additions and 6 deletions
15
README.md
15
README.md
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue