fix(usage): clarify fallback behavior and update shell configuration instructions

This commit is contained in:
Janik von Rotz committed 2025-12-03 13:55:24 +01:00
1 parent f752b9c88b
commit 8d3a8089d4
1 file changed
+4 -4
+4 -4
View File
@@ -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 {
}
}
}
}%
}
```