Linux Automation is a repository that brings together all the tools I created to set up my development environment. I share my tools with the community to improve the environment of others, and that they can submit improvements and new ideas to me.
This script is under development
This script allows you to automatically configure zsh
and add the most convenient plugins to work more efficiently.
This script uses Antigen as plugins manager for zsh, so you can add all compatible plugins in your .zshrc
file.
Two themes are available. Themes change automatically if you are logged in as root.
- User theme
- Root theme
- Install all the necessary tools (zsh, curl):
You need privileges to install necessary tools
apt-get install -y git zsh curl apt-transport-https
- Download the
.zshrc
file
curl -sL -o ~/.zshrc https://raw.githubusercontent.com/flomSStaar/Linux-Automation/master/zsh/.zshrc
- Configure zsh as default shell
chsh -s /usr/bin/zsh
- Restart your terminal
You may need to restart your session if the changes did not apply
-
In
.zshrc
fileYou can directly add other configurations like aliases or other bundles but it is recommended to create a local .zshrc file in
~/.perso/.zshrc
to avoid re-configuring your .zshrc file when updating this script. -
In
~/.perso/.zshrc
fileIt is recommended to add other configurations in
~/.perso/.zshrc
file to avoid re-configuring your .zshrc file when updating this script. -
Adding antigen bundles:
In
~/.perso/.zshrc
, you can add antigen bundle/theme with the following lineantigen bundle <git repository> <path to bundle file> antigen theme <git repository> <path to theme file>
Example:
antigen theme flomSStaar/Linux-Automation zsh/flomSStaar
You can participate in this project by creating a pull request. I will study the proposal to see if it is relevant to the project.
You can report bugs and issues on Github here
- Florent MARQUES - Creator