Skip to content

Instantly share code, notes, and snippets.

@cecepm
Last active May 13, 2021 12:00
Show Gist options
  • Save cecepm/2cab289362ae56239cb03ae0afde30d9 to your computer and use it in GitHub Desktop.
Save cecepm/2cab289362ae56239cb03ae0afde30d9 to your computer and use it in GitHub Desktop.
Mempercantik Terminator di Ubuntu 20.04
  1. Install Terminator

    sudo apt install terminator
    
  2. Download terminator config

    mkdir -p ~/.config/terminator
    curl -sL https://gist.githubusercontent.com/cecepm/85a8038df52419e9f29dd3a5f16deff1/raw/2ff4b8563704f48d13c538326a0a03192dc94e88/config -o ~/.config/terminator/config
    
  3. Download dan install jetbrains fonts

    mkdir -p ~/Downloads/JetBrainsMono-2.225
    curl -sL https://download.jetbrains.com/fonts/JetBrainsMono-2.225.zip -o ~/Downloads/JetBrainsMono-2.225.zip
    unzip ~/Downloads/JetBrainsMono-2.225.zip -d ~/Downloads/JetBrainsMono-2.225
    

    Install fonts

    mkdir -p ~/.fonts
    cp ~/Downloads/JetBrainsMono-2.225/fonts/ttf/* ~/.fonts
    
  4. Patch terminator

    curl -sL https://gist.githubusercontent.com/cecepm/61cfc469118d9ace12bf4f3966717bd1/raw/92087f885a846a6a9cb27a0682c49a9e0a8bac5a/terminator-1.91-4ubuntu1.patch -o ~/Downloads/terminator.patch
    cd /usr/share/terminator/terminatorlib
    sudo patch terminator.py ~/Downloads/terminator.patch
    
  5. Install oh-my-zsh

    sudo apt install zsh
    sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    
  6. Install starship prompt

    curl -fsSL https://starship.rs/install.sh | bash
    echo 'eval "$(starship init zsh)"' >> ~/.zshrc
    
  7. Ganti ls dengan exa

    Download dan install exa

    curl -sL https://github.com/ogham/exa/releases/download/v0.10.0/exa-linux-x86_64-v0.10.0.zip -o ~/Downloads/exa-linux-x86_64-v0.10.0.zip
    mkdir ~/Downloads/exa-linux-x86_64-v0.10.0
    unzip ~/Downloads/exa-linux-x86_64-v0.10.0.zip -d ~/Downloads/exa-linux-x86_64-v0.10.0
    sudo cp ~/Downloads/exa-linux-x86_64-v0.10.0/bin/exa /usr/local/bin/
    sudo cp ~/Downloads/exa-linux-x86_64-v0.10.0/completions/exa.bash /etc/bash_completion.d/
    sudo cp ~/Downloads/exa-linux-x86_64-v0.10.0/completions/exa.zsh /usr/local/share/zsh/site-functions
    sudo cp ~/Downloads/exa-linux-x86_64-v0.10.0/man/exa.1 /usr/share/man/man1/
    sudo cp ~/Downloads/exa-linux-x86_64-v0.10.0/man/exa_colors.5 /usr/share/man/man5/
    

    Buat alias ls, ganti dengan exa

    echo "alias ls='exa -g'" >> ~/.zshrc
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment