Skip to content

fellipec/customshell

Repository files navigation

Custom ZSH Environment

This script installs a custom enviroment based on the ZSH Shell. In addition it installs the following packages:

Install

To install this custom environment, copy and paste the following code on a terminal:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/fellipec/customshell/main/webinstall.sh)"

or

bash -c "$(wget https://raw.githubusercontent.com/fellipec/customshell/main/webinstall.sh -O -)"

Backup

Your original .bashrc and .zshrc files will be backed up with a .bkp extension

Compatibility

This script was written to be executed on Debian Bookworm or newer. When running on Debian derivatives distros, check if all the packages could be installed. It's tested with Linux Mint 21.3 and partially on LMDE 6 too.

Configuration changes:

Besides replacing the .bashrc and .zshrc with custom ones, the following configurations are changed in the system:

  • The default shell is changed to /usr/bin/zsh
  • Oh My Zsh! is installed and with P10K Theme and some other convenience features
  • vim is installed, set as default editor and a .vimrc and .vim directory are installed with custom configs
  • The default terminal is changed to Alacritty or Sakura if the former is not available
  • Add xkboption eurosign:e to X11
  • An alias redirect ls to lsd
  • An alias redirect cat to bat
  • An alias redirect upd to sudo apt update && sudo apt upgrade
  • An alias redirect tracert to traceroute because I used Windows for decades and can't help myself.

PowerLevel10k configuration

The install script will ask for your preferences for the Powerlevel10k theme. The options are:

Black (default)

Preview of the Black config

Color

Preview of the Color config

Full

Preview of the Full config

Laptop

Preview of the Laptop config

License

Unless otherwise stated, this repository is licensed under the terms of the GPL 2.0.

About

Custom ZSH install

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published