You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will install Zinit in ~/.zinit/bin. .zshrc will be updated with three lines of code that will be added to the bottom. The lines will be sourcing zinit.zsh and setting up completion for command zinit.
After installing and reloading the shell compile Zinit with zinit self-update.
# This must be the first liens in .zshrc so powek10k use it's instant prompt and make the zsh load faster with smothly scroll down when loaded# --------------------# Fastfetch (show system info)# --------------------ifcommand -v fastfetch >/dev/null 2>&1;then
fastfetch
fiif [ -f~/.bash_aliases ];then.~/.bash_aliases
fi# --------------------# Plugins# --------------------
zinit light zsh-users/zsh-autosuggestions
zinit light zdharma-continuum/fast-syntax-highlighting
zinit light zsh-users/zsh-completions
zinit light agkozak/zsh-z
zinit light hlissner/zsh-autopair
zinit light MichaelAquilina/zsh-you-should-use
# --------------------# Theme (Powerlevel10k)# --------------------
zinit light romkatv/powerlevel10k
#remove or comment the original one in the first of the file and put thi afterthe zinit load it
ZSH_THEME="powerlevel10k/powerlevel10k"
Make the Canges
source~/.zshrc
# Comment the follwing line if the follwing error happend even if the theme is applied# Error [oh-my-zsh] theme 'powerlevel10k/powerlevel10k' not found# comment this source $ZSH/oh-my-zsh.sh# and ZSH_THEME to be like this ZSH_THEME="" or comment it entirly
# Ubuntu
sudo systemctl start mysql && sudo systemctl enable mysql
# Fedora
sudo systemctl start mysqld && sudo systemctl enable mysqld
# Chck Status # Ubuntu
sudo systemctl status mysql
# Fedora
sudo systemctl status mysqld
3. Removing Root Passwor Before Secure Instlation
# Both Ubuntu and Fedora
sudo mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';
FLUSH PRIVILEGES;exit
sudo mysql_secure_installation
sudo mkdir -p /boot/grub/themes
cd /boot/grub/themes
sudo mkdir mytheme
cd mytheme
Using Theme
sudo mkdir -p /boot/grub/themes
tar -xvzf mytheme.tar.gz
# or
unzip mytheme.zip
sudo mv mytheme /boot/grub/themes/
4.Configure GRUB to Use the New Theme and Resloution
sudo nano /etc/default/grub
# Add this line and comment it if you want to disable the theme
GRUB_THEME="/boot/grub/themes/mytheme/theme.txt"# To set GRUB resolution look for or add this line
GRUB_GFXMODE=1920x1080
# Then make sure this line is also present (to apply the resolution) If it’s not there, add it.
GRUB_GFXPAYLOAD_LINUX=keep
sudo update-grub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters