Skip to content

Instantly share code, notes, and snippets.

@salamcast
Created February 11, 2025 01:19
Show Gist options
  • Save salamcast/5f6018d479fdb5088f172b9693ad5f7d to your computer and use it in GitHub Desktop.
Save salamcast/5f6018d479fdb5088f172b9693ad5f7d to your computer and use it in GitHub Desktop.
add zsh to ubunu/debian with icons and a cool look
#!/bin/bash
# borrowed from https://github.com/RamiKrispin/awesome-ds-setting
# a great guide from Remi Krispin, thank you!
# he has a telegram chanel that has dev and data tutorials posted if you want to learn more
# his setup is MacOS based, I'm using this on Ubuntu on an OrangePi 5 plus
#
# homebrew dosen't work on Linux ARM64
# using apt
sudo apt-get install zsh jq
echo "######################################################"
echo "# Exit ZSH to update config, after Ohmyzsh install #"
echo "######################################################"
#Oh-My-Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
cp ~/.zshrc ~/.zshrc.old
sed 's|ZSH_THEME=".*"|ZSH_THEME="powerlevel10k/powerlevel10k"|' <~/.zshrc.old >~/.zshrc
echo "when you launch zsh, you'll get the option to configure the options for Icons and extra goodies"
echo
echo " - down load Ghostty for ubuntu/debian https://github.com/mkasberg/ghostty-ubuntu/releases"
# Remi used iTerm, but that's a MacOS app, i would recomend Ghostty
# https://github.com/mkasberg/ghostty-ubuntu/releases
@salamcast
Copy link
Author

Screenshot from 2025-02-10 20-21-11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment