Skip to content

packrat386/sk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

sk

sk is a tool for collecting and running scripts

Usage

 [packrat386] ~ > sk h
sk r(un)? <script> <args...> to run <script> with <args...>
sk l(ist)? to show the list of availble scripts
sk c(at)? <script> to print the named script
sk w(hich)? <script> to print path to the named script
sk s(ave)? <file> to save the file as a script for sk to run (must be executable)
sk h(elp)? to show this usage message

the variable SK_SCRIPT_DIR should point to a directory where the scripts live and it defaults to ~/sk

sk home page: https://github.com/packrat386/sk

Installation

Manual

Put sk.sh somewhere on your computer and then source it. Probably somewhere in your shell rc.

Homebrew

Note: this is still pretty experimental

brew install packrat386/tools/sk

The "Caveats" segment of the information in brew will give you the invocation to add to your shell rc.

FAQ

Q: What does the name mean?

A: sk stands for script kiddie.

Q: What shells/platforms is this compatible with

A: sk has been tested exclusively on my mac with whatever version of bash happened to be installed (I cba to check).

Q: This seems like overkill for what's basically a directory of scripts

A: That's not a question.

Q: Why didn't you use $OTHER_TOOL?

A: No good reason.

Q: Has anybody ever actually asked any of the questions in the FAQ section?

A: ...

About

a tool for collecting and running scripts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages