Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save goelprateek/8c63aada7b32d43ab0aa434fd45114c4 to your computer and use it in GitHub Desktop.
Save goelprateek/8c63aada7b32d43ab0aa434fd45114c4 to your computer and use it in GitHub Desktop.

Revisions

  1. @renshuki renshuki revised this gist Aug 16, 2017. No changes.
  2. @renshuki renshuki revised this gist Jun 12, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -71,6 +71,7 @@ cd ~/.solarized
    - Choose **option 1** to download seebi' dircolors-solarized

    After installation, open ```.zshrc``` and add the line:

    ```bash
    eval `dircolors ~/.dir_colors/dircolors`
    ```
    @@ -79,7 +80,7 @@ To activate dark solarize theme in Terminator just right click on the terminal,
    > Preferences>Profiles>Colors>Foreground and Background>Built-in schemes: Solarized dark
    > Preferences>Profiles>Colors>Palette>Built-in schemes: Solarized
    > Restart Terminator and you're done!
    Restart Terminator and you're done!

    ### Ruby developer __(optional)__

  3. @renshuki renshuki revised this gist Jun 12, 2017. 1 changed file with 8 additions and 13 deletions.
    21 changes: 8 additions & 13 deletions ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -67,22 +67,17 @@ git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git ~/.solar
    cd ~/.solarized
    ./install.sh
    ```
    I recommend you option 1 (dark theme) which is just great.
    To activate dark solarize theme in Terminator just right click on the terminal,
    > Preferences>Profiles>Colors>Foreground and Background>Built-in schemes: Solarized dark
    > Preferences>Profiles>Colors>Palette>Built-in schemes: Solarized
    #### Change directory colors to solarize
    - I recommend you **option 1** (dark theme) which is just great.
    - Choose **option 1** to download seebi' dircolors-solarized

    After installation, open ```.zshrc``` and add the line:
    ```bash
    cd
    wget https://raw.githubusercontent.com/seebi/dircolors-solarized/master/dircolors.ansi-dark
    mv dircolors.ansi-dark .solarized
    eval `dircolors ~/.dir_colors/dircolors`
    ```

    Open ```.zshrc``` and add the line:
    ```bash
    eval `dircolors ~/.solarized/dircolors.ansi-dark`
    ```
    To activate dark solarize theme in Terminator just right click on the terminal,
    > Preferences>Profiles>Colors>Foreground and Background>Built-in schemes: Solarized dark
    > Preferences>Profiles>Colors>Palette>Built-in schemes: Solarized
    > Restart Terminator and you're done!
  4. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,8 @@ sudo apt-get install terminator
    ```bash
    sudo apt-get install zsh
    ```
    > Restart your terminal. Choose option 2 for Z Shell configuration.
    > Restart your terminal. Choose option 2 for Z Shell configuration.
    > Don't forget to migrate your previous configurations (RVM, Rbenv...) from ```.bashrc``` to ```.zshrc```
    ## Install Oh My ZSH

  5. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 16 additions and 6 deletions.
    22 changes: 16 additions & 6 deletions ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -71,7 +71,7 @@ To activate dark solarize theme in Terminator just right click on the terminal,
    > Preferences>Profiles>Colors>Foreground and Background>Built-in schemes: Solarized dark
    > Preferences>Profiles>Colors>Palette>Built-in schemes: Solarized
    #### Change the directory colors to solarize
    #### Change directory colors to solarize
    ```bash
    cd
    wget https://raw.githubusercontent.com/seebi/dircolors-solarized/master/dircolors.ansi-dark
    @@ -85,14 +85,24 @@ eval `dircolors ~/.solarized/dircolors.ansi-dark`

    > Restart Terminator and you're done!
    ### Plugins
    If you are Ruby developer you can use these plugins instead __(optional)__
    ### Ruby developer __(optional)__

    #### Plugins
    If you are Ruby developer you can use these plugins by replacing plugins in ```.zshrc```
    ```bash
    plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)
    ```

    ### That's it!


    #### Ruby version prompt
    (Add one of the line below into your ```.zshrc``` file)

    ##### RVM users
    ```bash
    RPROMPT="\$(~/.rvm/bin/rvm-prompt s i v g)%{$fg[yellow]%}[%*]"
    ```
    ##### Rbenv users
    ```bash
    RPROMPT='%{$fg[yellow]%}$(rbenv version-name)%{$reset_color%}%'
    ```

    ### That's it!
  6. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -83,13 +83,15 @@ Open ```.zshrc``` and add the line:
    eval `dircolors ~/.solarized/dircolors.ansi-dark`
    ```

    > Restart Terminator and you're done!
    ### Plugins
    If you are Ruby developer you can use these plugins instead __(optional)__
    ```bash
    plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)
    ```

    ## That's it!
    ### That's it!



  7. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 9 additions and 2 deletions.
    11 changes: 9 additions & 2 deletions ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -68,12 +68,19 @@ cd ~/.solarized
    ```
    I recommend you option 1 (dark theme) which is just great.
    To activate dark solarize theme in Terminator just right click on the terminal,
    >> Preferences>Profiles>Colors>Foreground and Background>Built-in schemes: Solarized dark
    >> Preferences>Profiles>Colors>Palette>Built-in schemes: Solarized
    > Preferences>Profiles>Colors>Foreground and Background>Built-in schemes: Solarized dark
    > Preferences>Profiles>Colors>Palette>Built-in schemes: Solarized
    #### Change the directory colors to solarize
    ```bash
    cd
    wget https://raw.githubusercontent.com/seebi/dircolors-solarized/master/dircolors.ansi-dark
    mv dircolors.ansi-dark .solarized
    ```

    Open ```.zshrc``` and add the line:
    ```bash
    eval `dircolors ~/.solarized/dircolors.ansi-dark`
    ```

    ### Plugins
  8. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -66,8 +66,8 @@ git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git ~/.solar
    cd ~/.solarized
    ./install.sh
    ```
    > I recommend you option 1 (dark theme) which is just great.
    > To activate dark solarize theme in Terminator just right click on the terminal,
    I recommend you option 1 (dark theme) which is just great.
    To activate dark solarize theme in Terminator just right click on the terminal,
    >> Preferences>Profiles>Colors>Foreground and Background>Built-in schemes: Solarized dark
    >> Preferences>Profiles>Colors>Palette>Built-in schemes: Solarized
  9. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 22 additions and 0 deletions.
    22 changes: 22 additions & 0 deletions ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -54,6 +54,28 @@ Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]
    ZSH_THEME="agnoster"
    ```

    #### Change theme colors to solarize

    ```dconf``` is required if you don't already have it.
    ```bash
    sudo apt-get install dconf-cli
    ```

    ```bash
    git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git ~/.solarized
    cd ~/.solarized
    ./install.sh
    ```
    > I recommend you option 1 (dark theme) which is just great.
    > To activate dark solarize theme in Terminator just right click on the terminal,
    >> Preferences>Profiles>Colors>Foreground and Background>Built-in schemes: Solarized dark
    >> Preferences>Profiles>Colors>Palette>Built-in schemes: Solarized
    #### Change the directory colors to solarize
    ```bash

    ```

    ### Plugins
    If you are Ruby developer you can use these plugins instead __(optional)__
    ```bash
  10. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -49,13 +49,13 @@ vim ~/.zshrc
    ```

    ### Theme
    1. Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]
    Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]
    ```bash
    ZSH_THEME="agnoster"
    ```

    ### Plugins
    2. If you are Ruby developer you can use these plugins instead __(optional)__
    If you are Ruby developer you can use these plugins instead __(optional)__
    ```bash
    plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)
    ```
  11. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 11 additions and 2 deletions.
    13 changes: 11 additions & 2 deletions ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -48,8 +48,17 @@ mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/
    vim ~/.zshrc
    ```

    > 1. Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]
    > 2. Change [plugins=(git)] to [plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)] __(optional)__
    ### Theme
    1. Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]
    ```bash
    ZSH_THEME="agnoster"
    ```

    ### Plugins
    2. If you are Ruby developer you can use these plugins instead __(optional)__
    ```bash
    plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)
    ```

    ## That's it!

  12. @renshuki renshuki renamed this gist Dec 13, 2015. 1 changed file with 3 additions and 5 deletions.
    8 changes: 3 additions & 5 deletions ubuntu_agnoster_theme.md → ubuntu_agnoster_install.md
    Original file line number Diff line number Diff line change
    @@ -29,18 +29,14 @@ cd
    wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
    wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
    mv PowerlineSymbols.otf ~/.fonts/
    mkdir -p .config/fontconfig/conf.d #if directory doesn't exists
    ```

    ### Clean fonts cache
    ```bash
    fc-cache -vf ~/.fonts/
    ```

    ### If directory doesn't exists
    ```bash
    mkdir -p .config/fontconfig/conf.d
    ```

    ### Move config file
    ```bash
    mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/
    @@ -55,6 +51,8 @@ vim ~/.zshrc
    > 1. Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]
    > 2. Change [plugins=(git)] to [plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)] __(optional)__
    ## That's it!




  13. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu_agnoster_theme.md
    Original file line number Diff line number Diff line change
    @@ -53,7 +53,7 @@ vim ~/.zshrc
    ```

    > 1. Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]
    > 2. Change [plugins=(git)] to [plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)] (optional)
    > 2. Change [plugins=(git)] to [plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)] __(optional)__


  14. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 26 additions and 1 deletion.
    27 changes: 26 additions & 1 deletion ubuntu_agnoster_theme.md
    Original file line number Diff line number Diff line change
    @@ -21,14 +21,39 @@ cd
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    ```

    ## Setup missing fonts (powerline)

    ### Install powerline font
    ```bash
    cd
    wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
    wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
    mv PowerlineSymbols.otf ~/.fonts/
    ```

    ### Clean fonts cache
    ```bash
    fc-cache -vf ~/.fonts/
    ```

    ### If directory doesn't exists
    ```bash
    mkdir -p .config/fontconfig/conf.d
    ```

    ### Move config file
    ```bash
    mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/
    ```

    ## Configure ZSH

    ```bash
    vim ~/.zshrc
    ```

    > 1. Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]
    > 2. Change [plugins=(git)] to [plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)]
    > 2. Change [plugins=(git)] to [plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)] (optional)


  15. @renshuki renshuki revised this gist Dec 13, 2015. 2 changed files with 35 additions and 17 deletions.
    17 changes: 0 additions & 17 deletions .md
    Original file line number Diff line number Diff line change
    @@ -1,17 +0,0 @@
    ## Install Terminator (shell)

    ```bash
    sudo add-apt-repository ppa:gnome-terminator
    sudo apt-get update
    sudo apt-get install terminator
    ```
    > Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
    ## Install ZSH

    ```bash
    sudo apt-get install zsh
    ```
    > Restart your terminal. Choose option 2 for Z Shell configuration.
    ## Install Oh My ZSH
    35 changes: 35 additions & 0 deletions ubuntu_agnoster_theme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    ## Install Terminator (shell)

    ```bash
    sudo add-apt-repository ppa:gnome-terminator
    sudo apt-get update
    sudo apt-get install terminator
    ```
    > Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
    ## Install ZSH

    ```bash
    sudo apt-get install zsh
    ```
    > Restart your terminal. Choose option 2 for Z Shell configuration.
    ## Install Oh My ZSH

    ```bash
    cd
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    ```

    ## Configure ZSH

    ```bash
    vim ~/.zshrc
    ```

    > 1. Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]
    > 2. Change [plugins=(git)] to [plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)]



  16. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 2 additions and 7 deletions.
    9 changes: 2 additions & 7 deletions .md
    Original file line number Diff line number Diff line change
    @@ -5,18 +5,13 @@ sudo add-apt-repository ppa:gnome-terminator
    sudo apt-get update
    sudo apt-get install terminator
    ```
    > Terminator should be setup as default now
    > Restart your terminal (shortcut: "Ctrl+Alt+T")
    > Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
    ## Install ZSH

    ```bash
    sudo apt-get install zsh
    ```
    > Restart your terminal
    > Choose option 2 for Z Shell configuration
    >>(2) Populate your ~/.zshrc with the configuration recommended
    >>by the system administrator and exit (you will need to edit
    >>the file by hand, if so desired).
    > Restart your terminal. Choose option 2 for Z Shell configuration.
    ## Install Oh My ZSH
  17. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions .md
    Original file line number Diff line number Diff line change
    @@ -5,10 +5,18 @@ sudo add-apt-repository ppa:gnome-terminator
    sudo apt-get update
    sudo apt-get install terminator
    ```
    > Terminator should be setup as default now
    > Restart your terminal (shortcut: "Ctrl+Alt+T")
    ## Install ZSH

    ```bash
    sudo apt-get install zsh
    ```
    > Restart your terminal
    > Choose option 2 for Z Shell configuration
    >>(2) Populate your ~/.zshrc with the configuration recommended
    >>by the system administrator and exit (you will need to edit
    >>the file by hand, if so desired).
    ## Install Oh My ZSH
  18. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion .md
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,6 @@ sudo apt-get install terminator

    ```bash
    sudo apt-get install zsh
    ```
    ```

    ## Install Oh My ZSH
  19. @renshuki renshuki revised this gist Dec 13, 2015. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion .md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,12 @@
    # Install Terminator (shell)
    ## Install Terminator (shell)

    ```bash
    sudo add-apt-repository ppa:gnome-terminator
    sudo apt-get update
    sudo apt-get install terminator
    ```
    ## Install ZSH

    ```bash
    sudo apt-get install zsh
    ```
  20. @renshuki renshuki created this gist Dec 13, 2015.
    7 changes: 7 additions & 0 deletions .md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Install Terminator (shell)

    ```bash
    sudo add-apt-repository ppa:gnome-terminator
    sudo apt-get update
    sudo apt-get install terminator
    ```