update README
This commit is contained in:
parent
6dbca62885
commit
706feca21a
1 changed files with 4 additions and 3 deletions
|
|
@ -8,7 +8,8 @@
|
||||||
- Output functions
|
- Output functions
|
||||||
- Text formatting variables
|
- Text formatting variables
|
||||||
|
|
||||||
All just by declaring some variables and sourcing a file or adding an oneliner.
|
All just by declaring some variables and sourcing it.
|
||||||
|
Or keep your scripts self-contained and include it as an oneliner.
|
||||||
|
|
||||||
The usage is pretty self-explanatory once you have seen it.
|
The usage is pretty self-explanatory once you have seen it.
|
||||||
If you're curious and don't want to read through the documentation, head directly to the [[#example][example]].
|
If you're curious and don't want to read through the documentation, head directly to the [[#example][example]].
|
||||||
|
|
@ -76,7 +77,7 @@
|
||||||
Grab the =sf= file from the repo, place it next to your script and source it with
|
Grab the =sf= file from the repo, place it next to your script and source it with
|
||||||
|
|
||||||
#+begin_src sh
|
#+begin_src sh
|
||||||
source sf
|
source "$(dirname $0)/sf"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*Or* just copy and paste the oneliner from above.
|
*Or* just copy and paste the oneliner from above.
|
||||||
|
|
@ -161,7 +162,7 @@
|
||||||
sfextra="No copyright at all."
|
sfextra="No copyright at all."
|
||||||
|
|
||||||
# Include sf, this could be replaced with a long oneliner
|
# Include sf, this could be replaced with a long oneliner
|
||||||
source sf
|
source "$(dirname $0)/sf"
|
||||||
|
|
||||||
# ----------------------
|
# ----------------------
|
||||||
# Actual script
|
# Actual script
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue