This file (gitconfig) contains my config.
I use remote shortcuts.
I can clone with git clone github:myrepo thanks to:
[url "git@github.com:Harchytekt/"]
insteadOf = github:
These six shell files personnalizes my Terminal use on macOS.
These files are:
sh_aliases- (more explanations)
This file contains all the aliases I currently use.
You can find the about script on my GitHub.
For example, I use 'mkdir -p' as mkdir to create intermediate directories when required. I also made two function to quickly compile and run Java programmes through jv $ (the only need is to have the main method inside a Main class).
ForFilen, see installation on file.io, and the config file inconfig/filenthat uses the 1password CLI.
This file is the simplest for now.
It only contains:
- the path to use SQL with MAMP;
- the path to use the Go programming language.
This one is the main file: it makes the link to the others.
It's automatically read by macOS and tells it that the sh_aliases, sh_path and bash_prompt exist. It also tells to the system where to search the files for the bash completion.
Without these links, the file would contain all the lines from the three others (→ loss of readability 😠).
Remark: Now the prompt for ZSH uses starship.
Thess files are heavily inspired by @necolas’s prompt
They personnalize the prompt:
- it's format;
- it's colors;
- it's behaviour:
- when in a git repo, you'll now if you are on the master branch or on another (not in zsh);
- when accessed through SSH, the colors will be changed.