mirror of
https://github.com/mitchell/swim.fish.git
synced 2025-12-13 13:27:23 +00:00
Add LICENSE and README.md, and update run scripts comments
This commit is contained in:
parent
7276f25128
commit
56e4583314
3 changed files with 35 additions and 4 deletions
9
run
9
run
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env fish
|
||||
# This 'run script' serves as a central place to store frequently run commands for this project.
|
||||
# This run(.fish) script serves as a central place to store frequently run commands for this project.
|
||||
# Source: https://github.com/mitchell/run.fish
|
||||
|
||||
### Config ###
|
||||
# Top-level configurations, like function prefixes and argument delimeters
|
||||
|
|
@ -9,7 +10,7 @@ set -g run_arg_delimeter ':'
|
|||
|
||||
### Commands ###
|
||||
# Add, edit, and remove commands freely below.
|
||||
# To add a command simply create a function with this naming scheme: run_{command}.
|
||||
# To add a command simply create a function with this naming scheme: {run_func_prefix}_{name}.
|
||||
#
|
||||
function run_hello
|
||||
echo 'hello, world!'
|
||||
|
|
@ -32,10 +33,10 @@ function run_lang -a command
|
|||
end
|
||||
|
||||
### Command Execution ###
|
||||
# Do not edit, unless you want to alter how to script runs commands.
|
||||
# Do not edit, unless you want to alter how to script executes commands.
|
||||
#
|
||||
# This script can execute 1 or more commands like makefile. It can also receive 1 argument per
|
||||
# command in the following format: {command}.{argument}.
|
||||
# command in the following format: {name}{run_arg_delimeter}{argument}.
|
||||
#
|
||||
# Examples:
|
||||
# ./run hello
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue