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
This command will display all locations where files have the name “commitPrefix”
47
-
It should be the one contained in `/Users/<UserName>/Library/Developer/Xcode/DerivedData/commitPrefix-<GeneratedString>/Build/Products/Release/commitPrefix`
48
-
49
-
Make sure not to select ones that have `commitPrefix.dSYM` in it's path
51
+
As a good practice, please make sure to read the source code of the installer script before running it. If you do not feel comfortable running the installer, you could manually build and install it instead. If you would like to do so, follow these steps:
50
52
51
-
5. Open a window at the location by using Finder and selecting **Go -> Go to folder...** enter in the path and select **Go**
53
+
2. Build the executable
52
54
53
-
You can also use the terminal **open** command but you'd have to remove the executable `/commitPrefix` from the end of the path
55
+
```zsh
56
+
% swift build -c release
57
+
```
54
58
55
-
6. Open your local executables folder by entering:
59
+
3. Install it into the local bin folder
56
60
57
61
```zsh
58
-
% open /usr/local/bin
62
+
% mv .build/release/commitPrefix /usr/local/bin
59
63
```
60
64
61
-
7. Drag and drop the Unix executable `commitPrefix` into you `bin` folder. On your next Terminal session you should be able to see auto-completion and use commitPrefix.
65
+
On your next Terminal session you should be able to see auto-completion and use commitPrefix.
0 commit comments