zsh-settings/README.md

54 lines
2 KiB
Markdown
Raw Normal View History

2021-11-28 23:58:29 +01:00
# zsh-settings
2021-12-02 10:38:56 +01:00
<p align="center">
<img src="https://git.gc4.at/linux/zsh-settings/media/branch/master/zsh.png">
</p>
2021-12-02 10:43:56 +01:00
- Install Requirements
- Arch
- `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-12-02 10:43:56 +01:00
- `apt install zsh ruby ruby-deb fzf`
- `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
2021-12-03 12:11:11 +01:00
- mkdir ~/.dotfiles
- cd ~/.dotfiles
2021-12-02 10:43:56 +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`
2021-11-29 11:29:02 +01:00
- --recurse-submodules -j8 is important since .oh-my-zsh and .oh-my-zsh/custom/plugins are also remote repos (int his repo) = submodules
2021-12-02 10:43:56 +01:00
- `cd ~`
- `mv .zshrc .zshrc_old && mv .p10k.zsh .p10k.zsh_old && mv .oh-my-zsh .oh-my-zsh_old`
2021-12-03 12:11:11 +01:00
- `ln -s .dotfiles/zsh-settings/.zshrc`
- `ln -s .dotfiles/zsh-settings/.p10k.zsh`
- `ln -s .dotfiles/zsh-settings/.oh-my-zsh`
2021-11-29 12:08:17 +01:00
- Update (Submodules included)
2021-12-03 12:11:11 +01:00
- `cd ~/.dotfiles/zsh-settings`
2021-12-02 10:43:56 +01:00
- `git submodule update --recursive --remote`
- `cd /opt/nerd-fonts && git pull && .install.sh`
- `gem update colorls`
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
2021-12-02 12:37:46 +01:00
- Change /`usr/bin/bash` to `/usr/bin/zsh` in `/etc/passwd` for your user
2021-12-02 10:25:41 +01:00
- AD/Ldap User
2021-12-02 12:37:46 +01:00
- 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