Git Product home page Git Product logo

dotfiles's Introduction

dotfiles

Prérequis

  • update système

      sudo apt-get update && sudo apt-get upgrade
    
  • installer zsh

      sudo apt install zsh
    
  • installer oh-my-zsh (vérifier que la ligne de commande est tjs celle-ci)

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

    ^ ceci va

    • créer le $HOME/.zshrc
    • set ZSH as default Shell
    • create the $HOME/.oh-my-zsh directory

Customisation du ZSH

installer le thème powerlevel9k

git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k

(vérifier si la ligne est tjs ok sur https://github.com/bhilburn/powerlevel9k)

installer fontconfig (utile ?)

sudo apt-get install fontconfig

installer la font hack dans sa version NerdFont

sudo apt-get install fonts-hack-ttf

ici clonage du projet complet pour installer NerdFont-complete (https://github.com/ryanoasis/nerd-fonts/ - attention clonage volumineux !)

git clone https://github.com/ryanoasis/nerd-fonts.git
cd nerd-fonts && ./install.sh Hack
cd .. && rm -rf ./nerd-fonts

Installer powerline icons pour separators

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 /usr/share/fonts/X11/misc
mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/
fc-cache -vf /usr/share/fonts/X11/misc    
pip install --user powerline-status

Changer la police système

Pour plus de cohérence avec le terminale, utiliser la font Hack partout (et pas que dans le terminal)

System font

install zsh plugins

zsh-syntax-higlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Installs NPM & NVM

sudo apt install npm
npm i -g nvm

NVM dans ZSH

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | zsh

Fin de la config ZSH

Une fois terminé, tout clean & relancer la session

sudo apt autoremove

Moar colorz

Moar cat #0

Pour voir les couleurs dispo et leurs codes couleurs : spectrum_ls

sudo apt install spectrum

Pour voir les icônes dispo : get_icon_names

Moar installs

Moar cat

weechat

https://weechat.org

sudo apt-get install weechat

puis copier le dossier de config weechat

Indicator multiload (plus complet que celui de base et sans graph

sudo apt install indicator-multiload

Sublime text 3

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text

Shutter

sudo apt-get update && sudo apt-get install shutter

Moar system theming (based on Ubuntu Mate)

Moar cat #2)

sudo add-apt-repository ppa:daniruiz/flat-remix
sudo add-apt-repository ppa:system76/pop
sudo apt-get update
sudo apt install flat-remix-gtk
sudo apt install materia-gtk-theme
sudo apt install pop-icon-theme

Moar swap

Moar cat #3

sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.