This file contains 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
from bs4 import BeautifulSoup as bs | |
packages = [] | |
# Get the list of packages from pypi | |
for p in range(1,10): | |
page = $(curl @(f'https://pypi.org/search/?q=xontrib-&page={p}')) | |
if 'Error code 404' in page: | |
printx('{GREEN}DONE{RESET}') |
This file contains 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
# Config for Powerlevel10k ZSH theme (https://github.com/romkatv/powerlevel10k/) that emulates | |
# the appearance of Bar ZSH theme (https://github.com/anki-code/zsh-bar-theme). | |
() { | |
emulate -L zsh | |
setopt no_unset | |
# Unset all configuration options. | |
unset -m 'POWERLEVEL9K_*' | |
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( |