UPD readme
This commit is contained in:
36
readme.md
36
readme.md
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
You would like to install the package manager `yay` instead of `pacman` first:
|
You would like to install the package manager `yay` instead of `pacman` first:
|
||||||
|
|
||||||
#### Yay installation
|
### Yay installation
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo pacman -S --needed git base-devel
|
sudo pacman -S --needed git base-devel
|
||||||
@@ -14,13 +14,18 @@ makepkg -si
|
|||||||
```
|
```
|
||||||
You can find support at https://github.com/Jguer/yay
|
You can find support at https://github.com/Jguer/yay
|
||||||
|
|
||||||
#### Installation
|
### Installation
|
||||||
|
|
||||||
```
|
```
|
||||||
yay oh-my-zsh
|
yay oh-my-zsh
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Configuration
|
## Configuration
|
||||||
|
|
||||||
|
You can either copy the theme from this repository or even more flexible
|
||||||
|
when you first clone this repository and then make a link from the `themes` folder to this repository.
|
||||||
|
|
||||||
|
### Just copy the file
|
||||||
|
|
||||||
Copy the file `smd.zsh-theme` of this repository to the `themes` directory, like
|
Copy the file `smd.zsh-theme` of this repository to the `themes` directory, like
|
||||||
```
|
```
|
||||||
@@ -30,6 +35,22 @@ Then copy the zsh template `zshrc` to your home directory
|
|||||||
```
|
```
|
||||||
cp /usr/share/oh-my-zsh/zshrc ~/.zshrc
|
cp /usr/share/oh-my-zsh/zshrc ~/.zshrc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Make a link from a cloned folder (the more experienced one)
|
||||||
|
|
||||||
|
Goto a new user folder e.g. `mkdir -p ~/gitea` and `cd ~/gitea`
|
||||||
|
|
||||||
|
Make a clone:
|
||||||
|
```
|
||||||
|
git clone https:\\https://git.kuschel.at/public/smd.zsh-theme.git
|
||||||
|
```
|
||||||
|
```
|
||||||
|
cd /usr/share/oh-my-zsh/themes
|
||||||
|
sudo ln -s $HOME/gitea/smd.zsh-theme/smd.zsh-theme
|
||||||
|
```
|
||||||
|
|
||||||
|
### Further steps:
|
||||||
|
|
||||||
Now you have to edit this file with e.g. `nano -cl ~/.zshrc`
|
Now you have to edit this file with e.g. `nano -cl ~/.zshrc`
|
||||||
an` replace the line with ZSH_THEME to:
|
an` replace the line with ZSH_THEME to:
|
||||||
```
|
```
|
||||||
@@ -40,4 +61,13 @@ In addition, I like to replace the HIST_STAMPS to:
|
|||||||
HIST_STAMPS="yyyy-mm-dd"
|
HIST_STAMPS="yyyy-mm-dd"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Last step change the shell and try to reload omz with:
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo chsh
|
||||||
|
```
|
||||||
|
Now you have to enter the new shell `/bin/zsh`
|
||||||
|
|
||||||
|
I would recommand to log out and log back into the system to see the zsh, as this is now your default shell for the future.
|
||||||
|
|
||||||
-- eof --
|
-- eof --
|
||||||
Reference in New Issue
Block a user