You would like to show your appreciation for our help 8-o. Gladly. We thank you for your donation! ;)
Tested on Ubuntu 20.04 and 22.04 LTS
Here you find prefabricated Configs for Nano, ZSH and Bash. The shellconfigs are based on the project powerlevel10k. GIT Projekt Powerlevel10k and the font from here: GIT Projekt Nerd-Fonts For V2, things like powerlevel10k were omitted for much lightwight. You have the possibility to install Nano and ZSHconfigs with the automatic installer. For this simply use the InstallerV1 or use another version InstallerV2 download, make executable and run.
V3 is an implementation "back to the root's" with the grml project and wildcardfix (my favorite)
Run the following commands with SUDO or in a rootshell. Use the version you like.
V1
wget https://git.osit.cc/public-projects/zsh-und-bash-configs/raw/master/zsh-easyinstaller.sh
chmod +x zsh-easyinstaller.sh
./zsh-easyinstaller.sh
V2
wget https://git.osit.cc/public-projects/zsh-und-bash-configs/raw/master/zsh-easyinstallerV2.sh
chmod +x zsh-easyinstallerV2.sh
./zsh-easyinstallerV2.sh
V3 (Back to the root's)
wget https://git.osit.cc/public-projects/zsh-und-bash-configs/raw/master/zsh-easyinstallerV3.sh
chmod +x zsh-easyinstallerV3.sh
./zsh-easyinstallerV3.sh
You can change the domain at the end of the file:
export PS1="%UDomain:%u %B%F{yellow}domain.foo $PS1"
You can also change fortunes to your language. Default is german.
apt install fortunes-es fortunes-it fortunes-ru ... and more
Bashrc has the following modifications:
- The limitation of the history to a certain number has been removed.
- Bash does not write the history only at logout, but in live mode.
After the installtion is ready and you have your new ZSH active and running, you should disable on your useraccount the updatefeature for zplug. It seems to be broken.
Comment out this lines with "#" from your ".zshrc"
if ! zplug check; then
printf "Install plugins? [y/N]: "
if read -q; then
echo; zplug install
fi
fi