Skip to content

Instantly share code, notes, and snippets.

@zolem
Created February 21, 2016 23:47
Show Gist options
  • Select an option

  • Save zolem/f45e1864ef2da6bd7b95 to your computer and use it in GitHub Desktop.

Select an option

Save zolem/f45e1864ef2da6bd7b95 to your computer and use it in GitHub Desktop.

Revisions

  1. zolem created this gist Feb 21, 2016.
    54 changes: 54 additions & 0 deletions babunUbuntuSetup.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,54 @@
    This wasn't too difficult to do for Ubuntu 15.04 and I assume the process for 14.04 would be the same. I first had to install zsh
    ```sh
    sudo apt-get install zsh
    ```
    and then restart my computer. I don't know why I had to restart but installing oh-my-zsh wouldn't work properly until I did. Then you need to make sure git is installed.
    ```sh
    sudo apt-get install git
    ```
    Once I restarted my computer I installed oh-my-zsh.
    ```sh
    wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh
    ```
    ***OR*** if you have curl
    ```sh
    curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
    ```
    Finally make zsh your default shell
    ```sh
    chsh -s /bin/zsh
    ```
    After these things are installed all you need to do is add [babun theme](https://github.com/babun/babun/blob/master/babun-core/plugins/oh-my-zsh/src/babun.zsh-theme) to your oh-my-zsh/themes folder.
    ```sh
    cd ~/.oh-my-zsh/custom
    wget https://github.com/babun/babun/blob/master/babun-core/plugins/oh-my-zsh/src/babun.zsh-theme
    ```
    Then edit your *.zshrc*
    Find the line:
    ```sh
    ZSH_THEME="robbyrussell"
    ```
    and change it to:
    ```sh
    ZSH_THEME="babun"
    ```

    For the default ubuntu terminal I went to edit > profile preferences > colors
    And added the colors found at [minttyrc](https://github.com/babun/babun/blob/master/babun-core/plugins/shell/src/minttyrc).

    - Uncheck: Use colors from system theme
    - Uncheck: Use transparent background
    - Uncheck: Use transparency from system theme
    - Check: Same as text color
    - Change all color boxes to the values below:

    Text Color | Background Color
    ------------- | -----------------------
    #d0d0d0 | #1c1c1c

      | Black | Red | Green | Yellow | Blue | Magenta | Cyan | White
    -------- | -------- | ----- | -------- | -------- | ------ | ----------- | ------ | -------
    Normal | #0c0c0c | #d78787 | #afd787 | #f7f7af | #87afd7 | #d7afd7 | #afd7d7 | #e6e6e6
    Bright/Bold | #0a0a0a | #df8787 | #afdf87 | #ffffaf | #87afdf | #dfafdf | #afdfdf | #eeeeee

    I don't know how to automate the color changes. I was looking for a dot file that stores these colors but I couldn't find one. If someone knows where it is I would love to be able to automate this in a shell script so I can have a gist to put this setup on any new Ubuntu installation.