Based on: https://gist.github.com/kevin-smets/8568070
This gist outlines the steps needed to setup zsh, ohmyzsh and the powerlevel10k theme on Ubuntu, available for anyone to follow.
-
Setup required dependencies
# update packages sudo apt update
def confirm() -> bool: | |
""" | |
Ask user to enter Y or N (case-insensitive). | |
:return: True if the answer is Y. | |
:rtype: bool | |
""" | |
answer = "" | |
while answer not in ["y", "n"]: | |
answer = input("Continue? [y/n]? ").lower() | |
return answer == "y" |
Based on: https://gist.github.com/kevin-smets/8568070
This gist outlines the steps needed to setup zsh, ohmyzsh and the powerlevel10k theme on Ubuntu, available for anyone to follow.
Setup required dependencies
# update packages
sudo apt update