Skip to main content

INSTALLATION DE ZSH

  • ZSH
    1.  Installer zsh et curl
      apt update && apt install zsh curl git

    2. Télécharger OhmyZSH et l'installer
      root@adm-front-01:~# sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
      Cloning Oh My Zsh...
      remote: Enumerating objects: 1386, done.
      remote: Counting objects: 100% (1386/1386), done.
      remote: Compressing objects: 100% (1332/1332), done.
      remote: Total 1386 (delta 31), reused 1142 (delta 26), pack-reused 0
      Receiving objects: 100% (1386/1386), 3.19 MiB | 1.74 MiB/s, done.
      Resolving deltas: 100% (31/31), done.
      From https://github.com/ohmyzsh/ohmyzsh
       * [new branch]      master     -> origin/master
      branch 'master' set up to track 'origin/master'.
      Already on 'master'
      /root
      
      Looking for an existing zsh config...
      Using the Oh My Zsh template file and adding it to /root/.zshrc.
      
      Time to change your default shell to zsh:
      Do you want to change your default shell to zsh? [Y/n] Y
      Changing your shell to /usr/bin/zsh...
      Shell successfully changed to '/usr/bin/zsh'.
      
               __                                     __   
        ____  / /_     ____ ___  __  __   ____  _____/ /_  
       / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ 
      / /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / 
      \____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  
                              /____/                       ....is now installed!
      
      
      Before you scream Oh My Zsh! look over the `.zshrc` file to select plugins, themes, and options.
      
      • Follow us on Twitter: https://twitter.com/ohmyzsh
      • Join our Discord community: https://discord.gg/ohmyzsh
      • Get stickers, t-shirts, coffee mugs and more: https://shop.planetargon.com/collections/oh-my-zsh
      
      ➜  ~ 
    3. Installer p10k
      git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
      #Set ZSH_THEME="powerlevel10k/powerlevel10k" in ~/.zshrc
      source ~/.zshrc