fix(usage): clarify fallback behavior and update shell configuration instructions
This commit is contained in:
1 file changed
+4
-4
@@ -80,7 +80,7 @@ See [taskfile.build/image](/image) for details.
|
||||
|
||||
## Default
|
||||
|
||||
Instead of setting up a task file for every ptoject, you can also set up one and fallback to the local task file.
|
||||
Instead of setting up a task file for every ptoject, you can also set up only one with a fallback to the task file in the `$PWD`.
|
||||
|
||||
First create symlink from your shell bin folder to the template task file. It is recommended to use the `$HOME/.local/bin/` folder.
|
||||
|
||||
@@ -90,7 +90,7 @@ Create the symlink:
|
||||
ln -sf "$HOME/taskfile.build/task.template" "$HOME/.local/bin/task"
|
||||
```
|
||||
|
||||
For your shell set this config:
|
||||
Add this config to your shell profile:
|
||||
|
||||
```bash
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
@@ -104,7 +104,7 @@ task() {
|
||||
}
|
||||
```
|
||||
|
||||
Remove the at the beginning of this document recommended alias.
|
||||
Remove the `alias task='./task'` alias from your profile. It is no longer necessary.
|
||||
|
||||
## Integration
|
||||
|
||||
@@ -171,5 +171,5 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}%
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user