zsh-settings/README.md

49 lines
1.9 KiB
Markdown
Raw Normal View History

2021-11-28 23:58:29 +01:00
# zsh-settings
2021-12-02 10:31:48 +01:00
![zsh](zsh.png "zsh")
2021-11-29 00:12:46 +01:00
- Install Requirments
2021-11-30 08:16:33 +01:00
- yay -S zsh ruby ruby-colorls nerd-fonts-complete ttf-meslo-nerd-font-powerlevel10k fzf
2021-11-29 13:41:28 +01:00
- Ubuntu:
2021-11-30 08:16:33 +01:00
- apt install zsh ruby ruby-deb fzf
2021-11-29 13:41:28 +01:00
- cd /opt
- git clone https://git.gc4.at/linux/nerd-fonts.git
- cd nerd-fonts && ./install.sh
- gem install colorls
2021-11-29 12:08:17 +01:00
2021-11-29 00:12:46 +01:00
- Install
- mkdir ~/.config_repos
- cd ~/.config_repos
2021-11-29 11:29:02 +01:00
- 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://git@git.gc4.at:4258/linux/zsh-settings.git
- --recurse-submodules -j8 is important since .oh-my-zsh and .oh-my-zsh/custom/plugins are also remote repos (int his repo) = submodules
2021-11-29 00:12:46 +01:00
- cd ~
2021-11-29 14:31:09 +01:00
- mv .zshrc .zshrc_old && mv .p10k.zsh .p10k.zsh_old && mv .oh-my-zsh .oh-my-zsh_old
2021-11-29 00:12:46 +01:00
- ln -s .config_repos/zsh-settings/.zshrc
- ln -s .config_repos/zsh-settings/.p10k.zsh
2021-11-29 01:14:52 +01:00
- ln -s .config_repos/zsh-settings/.oh-my-zsh
2021-11-29 12:08:17 +01:00
- Update (Submodules included)
- cd ~/.config_repos/zsh-settings
2021-11-29 13:41:28 +01:00
- git submodule update --recursive --remote
2021-11-29 14:11:00 +01:00
- cd /opt/nerd-fonts && git pull && .install.sh
- gem update colorls
2021-11-29 13:41:28 +01:00
2021-12-02 10:25:09 +01:00
- Change default Shell
2021-12-02 10:25:56 +01:00
- Switch default shell in your terminal
2021-12-02 10:25:09 +01:00
- Bsp. KDE Konsole: Settings > Configure Konsole > Profiles > Edit > Command > /usr/bin/zsh
2021-12-02 10:25:41 +01:00
- /etc/passwd
- Change "/usr/bin/bash" to "/usr/bin/zsh" in /etc/passwd for 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 USERNAME" and then paste it into /etc/passwd
2021-11-29 13:41:28 +01:00
- Sources:
- Check the Repos for instructions:
- https://git.gc4.at/linux/nerd-fonts
- https://git.gc4.at/linux/ohmyzsh
- https://git.gc4.at/linux/colorls
- https://git.gc4.at/linux/powerlevel10k
- https://git.gc4.at/linux/zsh-autosuggestions
2021-11-29 15:09:09 +01:00
- https://git.gc4.at/linux/zsh-syntax-highlighting