└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Intro 2 | This guide will show you how to customize your Linux or MacOS terminal using Powerlevel10k and the Zsh shell for a more personalized and efficient experience. 3 | ![Screenshot 2024-09-03 at 9 04 07 AM](https://github.com/user-attachments/assets/be4ca301-e242-4703-b66c-5f4a28f8c193) 4 | 5 | ## Zsh 6 | For this customization, you'll need Zsh. If you're using Kali Linux or macOS, Zsh is installed by default. To check if Zsh is your current shell, use the following command: 7 | ``` 8 | echo $SHELL 9 | ``` 10 | If Zsh is not installed, run the following command on your Debian-based Linux OS: 11 | ``` 12 | sudo apt install zsh 13 | ``` 14 | after that set ZSH as a defult shell 15 | ``` 16 | chsh -s /usr/bin/zsh 17 | ``` 18 | Now ZSH is installed. Close your terminal & open again with ZSH 19 | ## Install oh my zsh 20 | Now we install oh my zsh for setup zsh themes. run following command on your terminal. 21 | ``` 22 | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 23 | ``` 24 | ## Install powerlevel10k 25 | oh my zsh is installed on your system now we install powerlevel10k theme. 26 | ``` 27 | git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k 28 | ``` 29 | now edit the zsh theme in .zshrc file. 30 | ``` 31 | nano ~/.zshrc 32 | ``` 33 | set powerlevel10k in ZSH_THEME & save the file 34 | ``` 35 | ZSH_THEME="powerlevel10k/powerlevel10k" 36 | ``` 37 | ## Install fonts 38 | Now we install some necessary fonts. First we install powerline fonts. 39 | ``` 40 | sudo apt install fonts-powerline 41 | ``` 42 | Now we install nerd fonts. first create a dir. 43 | ``` 44 | mkdir -p ~/.local/share/fonts 45 | ``` 46 | Navigate to this dir 47 | ``` 48 | cd ~/.local/share/fonts 49 | ``` 50 | Download nerd font 51 | ``` 52 | curl -fLO https://github.com/ryanoasis/nerd-fonts/raw/HEAD/patched-fonts/DroidSansMono/DroidSansMNerdFont-Regular.otf 53 | ``` 54 | ## Config p10k 55 | Now exit to your terminal & open again. p10k configuration is automatic start in your firt start after p10k install. if p10k configuration is not auto start, run the following command 56 | ``` 57 | p10k configure 58 | ``` 59 | Now you can configure your theme as your choice. p10k will prompt some questions, and you can choose the answer based on your personal preferences. 60 | You can check the following video for configure this theme 61 | ### Video Demo 62 | [![P10K Demo](https://img.youtube.com/vi/j9IAvIAOVSc/0.jpg)](https://www.youtube.com/watch?v=j9IAvIAOVSc) 63 | 64 | ### For More Video subcribe TechChip YouTube Channel 65 | 66 | --------------------------------------------------------------------------------