Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save niradler/38aba9de41223e1808018a72c2ddb107 to your computer and use it in GitHub Desktop.
Save niradler/38aba9de41223e1808018a72c2ddb107 to your computer and use it in GitHub Desktop.

Revisions

  1. niradler revised this gist May 20, 2020. 1 changed file with 15 additions and 0 deletions.
    15 changes: 15 additions & 0 deletions 5e1f6def281aa18cc62b84be553da7fd68924128
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    chsh -s /bin/bash

    sudo apt-get update
    sudo apt upgrade

    sudo apt install zsh
    sudo apt-get install powerline fonts-powerline

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

    chsh -s /bin/zsh

    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.zsh-syntax-highlighting" --depth 1
    echo "source $HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> "$HOME/.zshrc"
  2. @dogrocker dogrocker revised this gist Feb 4, 2020. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion Oh my zsh with autosuggestions & syntax-highlighting.md
    Original file line number Diff line number Diff line change
    @@ -26,4 +26,7 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/mas
    - [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
    - [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
    - [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
    - [https://gist.github.com/kevin-smets/8568070](https://gist.github.com/kevin-smets/8568070)
    - [https://gist.github.com/kevin-smets/8568070](https://gist.github.com/kevin-smets/8568070)

    ### Happy?
    <a href="https://www.buymeacoffee.com/dogrocker" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-yellow.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a>
  3. @dogrocker dogrocker revised this gist Jul 17, 2016. 2 changed files with 29 additions and 20 deletions.
    29 changes: 29 additions & 0 deletions Oh my zsh with autosuggestions & syntax-highlighting.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    # Oh my zsh.

    ## Install with curl
    ```
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    ```

    ## Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)
    - Download zsh-autosuggestions by

    `git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions`

    - Download zsh-syntax-highlighting by

    `git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting`

    - `nano ~/.zshrc` find `plugins=(git)`

    - Append `zsh-autosuggestions & zsh-syntax-highlighting` to `plugins()` like this

    `plugins=(git zsh-autosuggestions zsh-syntax-highlighting)`

    - Reopen terminal

    ### Ref
    - [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
    - [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
    - [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
    - [https://gist.github.com/kevin-smets/8568070](https://gist.github.com/kevin-smets/8568070)
    20 changes: 0 additions & 20 deletions Oh my zsh with autosuggestions.md
    Original file line number Diff line number Diff line change
    @@ -1,20 +0,0 @@
    # Oh my zsh.

    ## Install with curl
    ```
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    ```

    ## Enabling Plugins (zsh-autosuggestions)
    - Download zsh-autosuggestions by
    `git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions`

    - `nano ~/.zshrc` find `plugins=(git)`

    - Append `zsh-autosuggestions` to `plugins()` like this
    `plugins=(git zsh-autosuggestions)`

    - Reopen terminal

    ### Ref
    - [https://gist.github.com/kevin-smets/8568070](https://gist.github.com/kevin-smets/8568070)
  4. @dogrocker dogrocker created this gist Jun 21, 2016.
    20 changes: 20 additions & 0 deletions Oh my zsh with autosuggestions.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    # Oh my zsh.

    ## Install with curl
    ```
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    ```

    ## Enabling Plugins (zsh-autosuggestions)
    - Download zsh-autosuggestions by
    `git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions`

    - `nano ~/.zshrc` find `plugins=(git)`

    - Append `zsh-autosuggestions` to `plugins()` like this
    `plugins=(git zsh-autosuggestions)`

    - Reopen terminal

    ### Ref
    - [https://gist.github.com/kevin-smets/8568070](https://gist.github.com/kevin-smets/8568070)