1 Commits
1.0 ... master

Author SHA1 Message Date
3e127fe60d ADD readme file 2025-10-26 17:23:17 +01:00

43
readme.md Normal file
View File

@@ -0,0 +1,43 @@
# Installation of zsh (z-shell) with oh-my-zsh in Arch Linux
## Preparation
You would like to install the package manager `yay` instead of `pacman` first:
#### Yay installation
```
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
```
You can find support at https://github.com/Jguer/yay
#### Installation
```
yay oh-my-zsh
```
#### Configuration
Copy the file `smd.zsh-theme` of this repository to the `themes` directory, like
```
sudo wget -P /usr/share/oh-my-zsh/themes https://git.kuschel.at/public/smd.zsh-theme/releases/download/1.0/smd.zsh-theme
```
Then copy the zsh template `zshrc` to your home directory
```
cp /usr/share/oh-my-zsh/zshrc ~/.zshrc
```
Now you have to edit this file with e.g. `nano -cl ~/.zshrc`
an` replace the line with ZSH_THEME to:
```
ZSH_THEME="smd"
```
In addition, I like to replace the HIST_STAMPS to:
```
HIST_STAMPS="yyyy-mm-dd"
```
-- eof --