Skip to content

Instantly share code, notes, and snippets.

@acouvreur
Created October 12, 2018 22:23
Show Gist options
  • Save acouvreur/8ac788488c94c15a39e559f40e2fa4e7 to your computer and use it in GitHub Desktop.
Save acouvreur/8ac788488c94c15a39e559f40e2fa4e7 to your computer and use it in GitHub Desktop.
My ultimate ubuntu

MY ULTIMATE UBUNTU

From clean install Ubuntu 18.04LTS

Core softwares

  • Firefox Quantum : Because i love firefox and the multi-sync account is awsome.
  • VSCode : Very cool ide with a lot of extensions, using sync extension.

Core libraries

git nodejs npm curl zsh wget shellcheck htop

Gnome Customization

  • Flat Design Theme
    1. sudo apt-get install gnome-shell-extensions
    2. Enable user themes in extensions (might need to log out before)
    3. sudo add-apt-repository ppa:daniruiz/flat-remix
    4. sudo apt-get update
    5. Gnome Theme : sudo apt-get install flat-remix-gnome
    6. GTK Theme : sudo apt-get install flat-remix-gtk
    7. Icon Theme : sudo apt-get install flat-remix
    8. Now go to tweak toos and select your themes.

Oh-My-Zsh Custom

1. Install ZSH

  1. sudo apt install zsh
  2. chsh -s /bin/zsh
  3. Log out then log in

2. Install Oh-My-Zsh

̀ wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh`

3. Powerlevel9k Theme customization

  1. git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
  2. Overwrite ZSH_THEME in ~/.zshrc with ZSH_THEME="powerlevel9k/powerlevel9k"
  3. Install a font following this tutorial
  4. Set the font into the terminal
#!/bin/bash

# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh

ZSH_THEME="powerlevel9k/powerlevel9k"

POWERLEVEL9K_MODE='awesome-fontconfig'

POWERLEVEL9K_TIME_BACKGROUND="black"
POWERLEVEL9K_TIME_FOREGROUND="249"
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S | %d.%m.%y}"
POWERLEVEL9K_RVM_BACKGROUND="black"
POWERLEVEL9K_RVM_FOREGROUND="249"
POWERLEVEL9K_RVM_VISUAL_IDENTIFIER_COLOR="red"
POWERLEVEL9K_VCS_CLEAN_FOREGROUND='black'
POWERLEVEL9K_VCS_CLEAN_BACKGROUND='green'
POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND='black'
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='yellow'
POWERLEVEL9K_VCS_MODIFIED_FOREGROUND='white'
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='black'
POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND='black'
POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND='blue'
POWERLEVEL9K_FOLDER_ICON=''
POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE=true
POWERLEVEL9K_STATUS_VERBOSE=false
POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=0
POWERLEVEL9K_VCS_UNTRACKED_ICON='\u25CF'
POWERLEVEL9K_VCS_UNSTAGED_ICON='\u00b1'
POWERLEVEL9K_VCS_INCOMING_CHANGES_ICON='\u2193'
POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON='\u2191'
POWERLEVEL9K_VCS_COMMIT_ICON="\uf417"
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%F{blue}\u256D\u2500%F{white}"
POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX="%F{blue}\u2570\uf460%F{white} "
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(command_execution_time  status time)

ENABLE_CORRECTION="false"
HIST_STAMPS="mm/dd/yyyy"
plugins=(git git-extras gem bundler osx ruby rvm rails sudo sublime colorize history history-substring-search last-working-dir compleat zsh-completions zsh-history-substring-search zsh-autosuggestions zsh-syntax-highlighting zsh-syntax-highlighting-filetypes warhol)
autoload -U compinit && compinit
source $ZSH/oh-my-zsh.sh
bindkey '\e[A' history-beginning-search-backward
bindkey '\e[B' history-beginning-search-forward

export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx

POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon dir vcs)

POWERLEVEL9K_OS_ICON_BACKGROUND="white"
POWERLEVEL9K_OS_ICON_FOREGROUND="blue"
POWERLEVEL9K_DIR_HOME_FOREGROUND="white"
POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND="white"
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND="white"

POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true
POWERLEVEL9K_SHORTEN_STRATEGY="truncate_beginning"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment