Shell initialisation scripts.
Tested on ZSH 5.7 and above.
Both bash and zsh initialisation utilise a common configuration file ($HOME/.shell-configuration
) which may be used to stored common properties e.g.
NS_PREFIX
- where common support software (e.g. brew-koji & zsh-git-prompt) are stored in the filesystem.SW_PREFIX
- where system software (such as the JDK, Maven, Gradle etc) are stored in the filesystem.
These prefixes are 'internal' ; specific to certain areas of my work and therefore not required generally.
IP_CONFIG
- location of IP configurationIP_TOOLING
- location of IP_TOOLING
For even more completions install https://github.com/zsh-users/zsh-completions in NS_PREFIX
location.
It will check for existence (inside NS_PREFIX
) for:
It will check for existence (inside NS_PREFIX
) for any of the below, in the following order:
- https://github.com/zdharma/fast-syntax-highlighting
- https://github.com/zdharma/zsh-syntax-highlighting
It will check for existence (inside NS_PREFIX
) for any of the below, in the following order:
If either https://github.com/zsh-users/zsh-completions.git or https://github.com/gradle/gradle-completion are
installed in the NS_PREFIX
directory it will add these to the completion system.
If https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv/ is installed in the NS_PREFIX
directory it will activate this for Python environments.
For all of the files the recommended installation is to place a symbolic link in your home directory pointing to the relevant file in the checkout.
- .zshenv
- .zshrc
- .bashrc
- .commonshell
- .aliases
These contains various useful functions and aliases.
Various useful aliases suitable for placing in /etc/gitconfig
Both of the following are for Firefox configuration. Symbolic links should be placed in the Firefox directory.
- userChrome.css (
$HOME/.mozilla/<id>/chrome/<userChrome.css as symbolic link>
) - user.js (
$HOME/.mozilla/<id>/<user.js as symbolic link>
)
The [email protected]
is a backup of the configuration for TreeStyleTab.
The create_setup.py
is a modified instance that can be used with poetry to generate a setup.py