Update README
This commit is contained in:
parent
862336da96
commit
f01ea8af6d
10
README.md
10
README.md
|
@ -2,11 +2,11 @@
|
|||
|
||||
## What is space?
|
||||
|
||||
Space is a shell. Not much else.
|
||||
Space is a shell. There is a simple substitutions feature, which can substitute something for something else.
|
||||
|
||||
## How to use?
|
||||
|
||||
1. Compile (`g++ src/main.cpp -o space`).
|
||||
1. Compile (`g++ src/main.cpp -o space`). (may differ by OS or personal preference, this works for Linux)
|
||||
|
||||
2. Run the outputted binary (`space`).
|
||||
|
||||
|
@ -14,6 +14,10 @@ Space is a shell. Not much else.
|
|||
|
||||
If you need to change your directory, run `cd (directory)`. If you need to exit the shell, type `exit`.
|
||||
|
||||
The path is hard-coded into the source code, change the vector on line 40 to add directories to your path.
|
||||
If you would like to create a substitution, type `sub (string) (anotherstring)`. List all your substitutions with `listsubs`. By default, `ls` is substituted with `ls -l`. If you'd like to make your substitutions include extra command line arguments, write your arguments inside quotation marks.
|
||||
|
||||
The path is hard-coded into the source code, change the vector on line 59 to add directories to your path.
|
||||
|
||||
The prompt is not able to be changed. Yes, I'm forcing my opinion on you.
|
||||
|
||||
If you want to run an executable in your current directory, there's no need for the ./ (keep in mind Space will prioritise local executables over ones in the path)
|
||||
|
|
Loading…
Reference in New Issue
Block a user