Format text

This commit is contained in:
Elmar Sönser 2021-12-02 10:43:56 +01:00
parent cbbb60c70a
commit 50bab5c57f

View file

@ -5,41 +5,43 @@
</p> </p>
- Install Requirments - Install Requirements
- yay -S zsh ruby ruby-colorls nerd-fonts-complete ttf-meslo-nerd-font-powerlevel10k fzf
- Arch
- `yay -S zsh ruby ruby-colorls nerd-fonts-complete ttf-meslo-nerd-font-powerlevel10k fzf`
- Ubuntu: - Ubuntu:
- apt install zsh ruby ruby-deb fzf - `apt install zsh ruby ruby-deb fzf`
- cd /opt - `cd /opt`
- git clone https://git.gc4.at/linux/nerd-fonts.git - `git clone https://git.gc4.at/linux/nerd-fonts.git`
- cd nerd-fonts && ./install.sh - `cd nerd-fonts && ./install.sh`
- gem install colorls - `gem install colorls`
- Install - Install
- mkdir ~/.config_repos - mkdir ~/.config_repos
- cd ~/.config_repos - cd ~/.config_repos
- git clone --recurse-submodules -j8 https://git.gc4.at/linux/zsh-settings.git - `git clone --recurse-submodules -j8 https://git.gc4.at/linux/zsh-settings.git`
- Use ssh if you want to commit also: - Use ssh if you want to commit also:
git clone --recurse-submodules -j8 ssh://git@git.gc4.at:4258/linux/zsh-settings.git `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 - --recurse-submodules -j8 is important since .oh-my-zsh and .oh-my-zsh/custom/plugins are also remote repos (int his repo) = submodules
- cd ~ - `cd ~`
- mv .zshrc .zshrc_old && mv .p10k.zsh .p10k.zsh_old && mv .oh-my-zsh .oh-my-zsh_old - `mv .zshrc .zshrc_old && mv .p10k.zsh .p10k.zsh_old && mv .oh-my-zsh .oh-my-zsh_old`
- ln -s .config_repos/zsh-settings/.zshrc - `ln -s .config_repos/zsh-settings/.zshrc`
- ln -s .config_repos/zsh-settings/.p10k.zsh - `ln -s .config_repos/zsh-settings/.p10k.zsh`
- ln -s .config_repos/zsh-settings/.oh-my-zsh - `ln -s .config_repos/zsh-settings/.oh-my-zsh`
- Update (Submodules included) - Update (Submodules included)
- cd ~/.config_repos/zsh-settings - `cd ~/.config_repos/zsh-settings`
- git submodule update --recursive --remote - `git submodule update --recursive --remote`
- cd /opt/nerd-fonts && git pull && .install.sh - `cd /opt/nerd-fonts && git pull && .install.sh`
- gem update colorls - `gem update colorls`
- Change default Shell - Change default Shell
- Switch default shell in your terminal - Switch default shell in your terminal
- Bsp. KDE Konsole: Settings > Configure Konsole > Profiles > Edit > Command > /usr/bin/zsh - Bsp. KDE Konsole: Settings > Configure Konsole > Profiles > Edit > Command > /usr/bin/zsh
- /etc/passwd - /etc/passwd
- Change "/usr/bin/bash" to "/usr/bin/zsh" in /etc/passwd for your user - Change "/usr/bin/bash" to "/usr/bin/zsh" in /etc/passwd for your user
- AD/Ldap 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 - 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
- Sources: - Sources:
- Check the Repos for instructions: - Check the Repos for instructions:
- https://git.gc4.at/linux/nerd-fonts - https://git.gc4.at/linux/nerd-fonts