mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 00:17:59 +00:00
Ensure code blocks are formatted properly for GitHub (#1271)
This commit is contained in:
parent
8913bcccd2
commit
5271af8180
@ -13,23 +13,25 @@ version is 4.3.17.
|
|||||||
|
|
||||||
1. Launch Zsh:
|
1. Launch Zsh:
|
||||||
|
|
||||||
zsh
|
`zsh`
|
||||||
|
|
||||||
2. Clone the repository:
|
2. Clone the repository:
|
||||||
|
|
||||||
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
|
`git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"`
|
||||||
|
|
||||||
3. Create a new Zsh configuration by copying the Zsh configuration files
|
3. Create a new Zsh configuration by copying the Zsh configuration files
|
||||||
provided:
|
provided:
|
||||||
|
|
||||||
|
```
|
||||||
setopt EXTENDED_GLOB
|
setopt EXTENDED_GLOB
|
||||||
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
|
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
|
||||||
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
|
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
|
||||||
done
|
done
|
||||||
|
```
|
||||||
|
|
||||||
4. Set Zsh as your default shell:
|
4. Set Zsh as your default shell:
|
||||||
|
|
||||||
chsh -s /bin/zsh
|
`chsh -s /bin/zsh`
|
||||||
|
|
||||||
5. Open a new Zsh terminal window or tab.
|
5. Open a new Zsh terminal window or tab.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user