From f93f7086e8906c8e27426f0298ce990cf7b7c85d Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 3 Aug 2021 22:02:58 -0700 Subject: [PATCH] Suggest using `~/.global.justfile` instead of `~/.justfile` (#937) Since `just` now looks for files named `.justfile` in addition to `justfile`, suggest using `~/.global.justfile` as the name for a global justfile. --- README.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index 99ba826..54c2a56 100644 --- a/README.adoc +++ b/README.adoc @@ -1624,16 +1624,16 @@ Before `just` was a fancy Rust program it was a tiny shell script that called `m === Non-Project Specific Justfile -If you want some commands to be available everywhere, put them in `~/.justfile` and add the following to your shell's initialization file: +If you want some commands to be available everywhere, put them in `~/.global.justfile` and add the following to your shell's initialization file: ```sh -alias .j='just --justfile ~/.justfile --working-directory ~' +alias .j='just --justfile ~/.global.justfile --working-directory ~' ``` Or, if you'd rather they run in the current directory: ```sh -alias .j='just --justfile ~/.justfile --working-directory .' +alias .j='just --justfile ~/.global.justfile --working-directory .' ``` I'm pretty sure that nobody actually uses this feature, but it's there.