File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212Then the command line stays a joy to use.
1313
14- ## Installation
15-
16- Clone repository
17-
18- ``` bash
19- mkdir -p ~ /src/github.com/ctsrc/
20- cd ~ /src/github.com/ctsrc/
21- git clone git@github.com:ctsrc/repotools.git || \
22- git clone https://github.com/ctsrc/repotools.git
23- ```
24-
25- Create symlinks in your ` ~/bin/ ` .
26-
27- ``` bash
28- mkdir -p ~ /bin/
29- find ~ /src/github.com/ctsrc/repotools/bin/ -type f \
30- -exec ln -s {} ~ /bin/ \;
31- ```
32-
33- Edit your ` ~/.profile ` (bash and many others), ` ~/.zshenv ` (zsh)
34- or whatever is the equivalent for your shell, adding ` ~/bin `
35- to your ` $PATH ` if it's not already there.
36-
37- If your ` ~/.profile ` or equivalent has a check for the existence
38- of ` ~/bin/ ` that would add it to ` $PATH ` if ` ~/bin/ ` exists, but
39- you had not created that directory prior to this then you should
40- just log out and log in again. Same goes if you edited the file
41- because ` ~/bin/ ` was not mentioned from before; log out and log
42- in again.
43-
4414## Background
4515
4616I used to keep aliases in my ` .bashrc ` , but now that I run different operating
You can’t perform that action at this time.
0 commit comments