Skip to content

Instantly share code, notes, and snippets.

@OndrejValenta
Last active August 7, 2025 22:35
Show Gist options
  • Select an option

  • Save OndrejValenta/41c4c60f837ccd56c57ba496177676b3 to your computer and use it in GitHub Desktop.

Select an option

Save OndrejValenta/41c4c60f837ccd56c57ba496177676b3 to your computer and use it in GitHub Desktop.

Revisions

  1. OndrejValenta revised this gist Jul 30, 2019. No changes.
  2. OndrejValenta revised this gist Jul 30, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install Zsh and Oh-my-zsh on CentOS 7.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Install Zsh and Oh-my-zsh on CentOS 7.md
    # Install Zsh and Oh-my-zsh on CentOS 7

    ## Based on this [article](https://www.howtoforge.com/tutorial/how-to-setup-zsh-and-oh-my-zsh-on-linux/)

  3. OndrejValenta revised this gist Jul 30, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Install Zsh and Oh-my-zsh on CentOS 7.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    # Based on this [article](https://www.howtoforge.com/tutorial/how-to-setup-zsh-and-oh-my-zsh-on-linux/)
    # Install Zsh and Oh-my-zsh on CentOS 7.md

    ## Based on this [article](https://www.howtoforge.com/tutorial/how-to-setup-zsh-and-oh-my-zsh-on-linux/)

    **ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does**

  4. OndrejValenta revised this gist Jul 30, 2019. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Install Zsh and Oh-my-zsh on CentOS 7.md
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,8 @@

    **ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does**

    This script can be copy paste to ssh as is. No hands installation. :-)

    ```
    yum install zsh -y
    chsh -s /bin/zsh root
  5. OndrejValenta revised this gist Jul 30, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install Zsh and Oh-my-zsh on CentOS 7.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Based on this [article](https://www.howtoforge.com/tutorial/how-to-setup-zsh-and-oh-my-zsh-on-linux/)

    ** ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does**
    **ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does**

    ```
    yum install zsh -y
  6. OndrejValenta revised this gist Jul 30, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install Zsh and Oh-my-zsh on CentOS 7.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ echo $SHELL
    yum install wget git -y
    wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
    /bin/cp -f ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
    /bin/cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
    source ~/.zshrc
    ```
  7. OndrejValenta revised this gist Jul 30, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install Zsh and Oh-my-zsh on CentOS 7.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ echo $SHELL
    yum install wget git -y
    wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
    /bin/cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
    /bin/cp -f ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
    source ~/.zshrc
    ```
  8. OndrejValenta revised this gist Jul 30, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install Zsh and Oh-my-zsh on CentOS 7.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ echo $SHELL
    yum install wget git -y
    wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
    cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
    /bin/cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
    source ~/.zshrc
    ```
  9. OndrejValenta revised this gist Jul 30, 2019. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions Install Zsh and Oh-my-zsh on CentOS 7.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,12 @@
    # Based on this [article](https://www.howtoforge.com/tutorial/how-to-setup-zsh-and-oh-my-zsh-on-linux/)

    ** ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does**

    ```
    yum install zsh
    yum install zsh -y
    chsh -s /bin/zsh root
    echo $SHELL
    yum install wget git
    yum install wget git -y
    wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
    cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
  10. OndrejValenta created this gist Jul 30, 2019.
    13 changes: 13 additions & 0 deletions Install Zsh and Oh-my-zsh on CentOS 7.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    # Based on this [article](https://www.howtoforge.com/tutorial/how-to-setup-zsh-and-oh-my-zsh-on-linux/)

    ```
    yum install zsh
    chsh -s /bin/zsh root
    echo $SHELL
    yum install wget git
    wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
    cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
    source ~/.zshrc
    ```