moved helpers separately
This commit is contained in:
@@ -82,6 +82,14 @@ profile gives access to numerous functions, aliases and to an advanced prompt.
|
||||
All functions are organized into modules under the `profile.d/` directory and
|
||||
are loaded automatically at startup.
|
||||
|
||||
The internal helpers (functions starting with `_`, not meant to be called by
|
||||
hand) are kept apart from the modules, in the `helpers/` directory:
|
||||
`helpers/common.sh` holds the ones shared by several modules (option parsing,
|
||||
trap restoration, ...), and each module loads its own private helpers from
|
||||
`helpers/<module name>.sh` when that file exists (`profile.d/rain.sh` loads
|
||||
`helpers/rain.sh`). Both are loaded automatically; `helpers/` must be kept next
|
||||
to `profile.sh` and `profile.d/`.
|
||||
|
||||
### 3.1. Prompt
|
||||
|
||||
A bar-style prompt showing current time, execution time of the last command
|
||||
|
||||
Reference in New Issue
Block a user