You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: commands.d/self-build.sh
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,9 @@
13
13
command: self build
14
14
function: selfBuild
15
15
author: github.com/jcaillon
16
-
shortDescription: Index all the commands and libraries present in the valet user directory and installation directory.
16
+
shortDescription: Index all the commands and libraries present in the valet extensions directory and installation directory.
17
17
description: |-
18
-
Index all the command and libraries present in the valet user directory and installation directory.
18
+
Index all the command and libraries present in the valet extensions directory and installation directory.
19
19
20
20
This command can be used to re-build the menu / help / options / arguments in case you have modified, added or removed a Valet command definition.
21
21
@@ -25,7 +25,7 @@ description: |-
25
25
26
26
- Makes a list of all the eligible files in which we could find command definitions.
27
27
- For each file in this list, extract the command definitions.
28
-
- Build your commands file (in your valet user directory) from these definitions.
28
+
- Build your commands file (in your valet extensions directory) from these definitions.
29
29
- Makes a list of all `libraries.d` directories found in the user directory.
30
30
31
31
You can call this script directly in case calling ⌜valet self build⌝ is broken:
@@ -326,7 +326,7 @@ function extractCommandDefinitionsToVariables() {
326
326
declareOtherCommandVariables
327
327
328
328
if((duplicatedCommands >0));then
329
-
core::fail "There are ${duplicatedCommands} duplicated commands, please remove them. Do you have a duplicated folder in your valet user directory?"
329
+
core::fail "There are ${duplicatedCommands} duplicated commands, please remove them. Do you have a duplicated folder in your valet extensions directory?"
0 commit comments