Skip to content

Commit

Permalink
update zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-canux committed Feb 14, 2023
1 parent ce141e3 commit c8962b9
Show file tree
Hide file tree
Showing 3 changed files with 1,895 additions and 242 deletions.
24 changes: 13 additions & 11 deletions docs/zsh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,14 @@ Install zsh::

Install oh-my-zsh::

export ZSH="$HOME/.zsh.d/oh-my-zsh"; sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
export ZSH="$HOME/.zsh.d/oh-my-zsh"; sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)""
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

or::

export ZSH="$HOME/.zsh.d/oh-my-zsh"; sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

or::

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.zsh.d/oh-my-zsh
cp ~/.zsh.d/oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

Configuration::
set zsh as default shell

chsh -s $(which zsh)

echo "source ~/myCode/dotfiles/etc/zsh/zshrc" > ~/.zshrc

Customize your oh-my-ZSH
Expand All @@ -56,6 +50,8 @@ You can manage other zsh themes with oh-my-zsh, just modify ~/dotfiles/etc/zsh/z
git clone <theme-url> ~/.zsh.d/oh-my-zsh/themes/<theme-name>
ZSH_THEME="<theme-name>/<theme-name>"

<https://github.com/romkatv/powerlevel10k>

Customize your plugins
^^^^^^^^^^^^^^^^^^^^^^

Expand All @@ -68,6 +64,12 @@ You can manage other zsh plugins with oh-my-zsh, just modify ~/dotfiles/etc/zsh/
git clone <plugin-url> ~/.zsh.d/oh-my-zsh/custom/plugins/<plugin-name>
plugins+=(<plugin-name>)

<https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md>

<https://github.com/zsh-users/zsh-completions>

<https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md>

Customize your ZSH
------------------

Expand Down

0 comments on commit c8962b9

Please sign in to comment.