Skip to content

Instantly share code, notes, and snippets.

@serenitii
Created June 22, 2020 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save serenitii/43950a74daa790d9934c3cc765f24cd0 to your computer and use it in GitHub Desktop.
Save serenitii/43950a74daa790d9934c3cc765f24cd0 to your computer and use it in GitHub Desktop.
Setup command line with pratical tools like zsh, fd, fzf, exa,
#!/bin/bash
date
sudo apt install git curl zsh fonts-powerline cowsay lolcat figlet toilet -y
figlet hello | lolcat -a -d 20
echo "-"
echo "Install fonts: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hack/Regular/complete" | lolcat -a -d 20
echo "Installing zsh, oh-my-zsh, powerlevel10k, fonts-powerline, zsh-syntax-highting, zsh-autosuggestions, z"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
echo "\n-\n"
echo "Set ZSH_THEME="powerlevel10k/powerlevel10k" in ~/.zshrc"
echo "SET plugins=(git z zsh-autosuggestions zsh-syntax-highlighting) in ~/.zshrc"
echo "Then Do "source ~/.zshrc""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment