-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
195 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Advanced Usage | ||
|
||
## Custom | ||
|
||
You can create your own repo by `one repo init`. | ||
|
||
`one help repo` for usage. | ||
|
||
Read [ONE Repo](./repo.md) for details. | ||
|
||
## ONE_RC | ||
|
||
If one.bash has any critical issue and failed to start up, you can set `ONE_RC=<path-to-your-rcfile>` for rescue. | ||
|
||
## ONE_DEBUG | ||
|
||
Invoke `one debug true` and restart shell. You will see the debug logs on screen. | ||
|
||
Invoke `one debug false` will turn off debug logs. | ||
|
||
## ONE_PATHS | ||
|
||
one.bash will reset `PATH` environment variable. | ||
You can manage `PATH` by `ONE_PATHS` in your ONE_CONF. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Bash-it | ||
|
||
You can use one.bash commands to manage bash-it's aliases/completions/plugins. | ||
|
||
one.bash enable [bash-it][] by default. | ||
You can disable it by `ONE_BASH_IT_ENABLE=false` in `ONE_CONF`. | ||
|
||
Read the [default ONE_CONF](../../one.config.default.bash) for more options (`ONE_BASH_IT_`) descriptions. | ||
|
||
[bash-it]: https://github.com/Bash-it/bash-it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# ONE Dependencies | ||
|
||
`one dep install` will download below four dependencies into [deps/](../../deps). | ||
|
||
- [dotbot][]: To create symbol links and manage them with config. | ||
- [composure][]: Provides functions for modules | ||
- [one.share][]: It can be disabled by `ONE_SHARE_ENABLE=false` in `ONE_CONF`. | ||
- [bash-it](https://github.com/Bash-it/bash-it): It can be disabled by `ONE_BASH_IT_ENABLE=false` in `ONE_CONF`. | ||
|
||
You can use `one dep` to manage these dependencies. | ||
|
||
- `one dep install` to install all dependencies. | ||
- `one dep update` to update all dependencies. | ||
- `one dep update <dep>` to update a dependency. | ||
|
||
|
||
<!-- links --> | ||
|
||
[composure]: https://github.com/adoyle-h/composure.git | ||
[dotbot]: https://github.com/anishathalye/dotbot/ | ||
[bash-it]: https://github.com/Bash-it/bash-it | ||
[one.share]: https://github.com/one-bash/one.share |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Fig | ||
|
||
This document is for [Fig][] user. | ||
|
||
You should install Fig command by yourself. | ||
|
||
And set `ONE_FIG=true` in your ONE_CONF to enable it. | ||
|
||
[Fig]: https://github.com/withfig/fig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.