No description
| .oh-my-zsh@15fd9c84de | ||
| plugins | ||
| themes | ||
| .gitmodules | ||
| .p10k.zsh | ||
| .zshrc | ||
| bash_to_zsh_history.rb | ||
| README.md | ||
| zsh.png | ||
zsh-settings
-
Install Requirements
-
Arch
yay -S zsh ruby ruby-colorls nerd-fonts-complete ttf-meslo-nerd-font-powerlevel10k fzf bpytop zsh-you-should-use
-
Ubuntu:
apt install zsh ruby ruby-deb fzf snapsnap install bpytopcd /optgit clone https://git.gc4.at/linux/nerd-fonts.gitcd nerd-fonts && ./install.shgem install colorls
-
-
Install
- mkdir ~/.dotfiles
- cd ~/.dotfiles
git clone --recurse-submodules -j8 https://git.gc4.at/linux/zsh-settings.git- Use ssh if you want to commit also:
git clone --recurse-submodules -j8 SSH URL - --recurse-submodules -j8 is important since .oh-my-zsh and .oh-my-zsh/custom/plugins are also remote repos (int his repo) = submodules
- Use ssh if you want to commit also:
cd ~mv .zshrc .zshrc_old && mv .p10k.zsh .p10k.zsh_old && mv .oh-my-zsh .oh-my-zsh_oldln -s .dotfiles/zsh-settings/.zshrcln -s .dotfiles/zsh-settings/.p10k.zshln -s .dotfiles/zsh-settings/.oh-my-zsh
-
Update (Submodules included)
cd ~/.dotfiles/zsh-settingsgit pull --recurse-submodulescd /opt/nerd-fonts && git pull && .install.shgem update colorls
-
Change default Shell
- Switch default shell in your terminal
- Bsp. KDE Konsole: Settings > Configure Konsole > Profiles > Edit > Command > /usr/bin/zsh
- /etc/passwd
- Change /
usr/bin/bashto/usr/bin/zshin/etc/passwdfor your user - AD/Ldap User
- AD/Ldap Users do no have an entry, so you need to grep it from AD/LDAP wit
getent passwd USERNAMEand then paste it into/etc/passwd
- AD/Ldap Users do no have an entry, so you need to grep it from AD/LDAP wit
- Change /
- Switch default shell in your terminal
-
Import bash history with ruby script
ruby ~/.dotfiles/zsh-settings/bash_to_zsh_history.rb
-
Confirmation dialog on reboot / poweroff / shutdown
- If you want to disable the confirmation dialog for reboots / shutdowns, comment out the aliases in .zshrc
-
Sources: