flomSStaar / Linux-Automation

I create small scripts to configure my development environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linux-Automation

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.

common.sh

This script is under development

.zshrc

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.

Introduction

Two themes are available. Themes change automatically if you are logged in as root.

  • User theme

user-theme

  • Root theme

root-theme

Installation

  • 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

Configuration

  • In .zshrc file

    You 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 file

    It 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 line

    antigen bundle <git repository> <path to bundle file>
    antigen theme <git repository> <path to theme file>
    

    Example:

    antigen theme flomSStaar/Linux-Automation zsh/flomSStaar
    

Contributing

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.

Bugs and issues

You can report bugs and issues on Github here

Contributors

About

I create small scripts to configure my development environment.


Languages

Language:Shell 100.0%