From 8d3a8089d4e39bb514ae2eec0a817553f46cdcfb Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Wed, 3 Dec 2025 13:55:24 +0100 Subject: [PATCH] fix(usage): clarify fallback behavior and update shell configuration instructions --- usage.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usage.md b/usage.md index 6241905..c681b35 100644 --- a/usage.md +++ b/usage.md @@ -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 { } } } -}% +} ```