Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Avinash Reddy AvinashReddy3108

🎯
Focusing
View GitHub Profile
View nerd-fonts-termux.sh
#!/usr/bin/env bash
_require () {
for pkg in "$@"
do
command -v $pkg >/dev/null 2>&1 || { echo >&2 "I require '$pkg' but it's not installed. Aborting."; exit 1; }
done
}
_require jq curl fzf
@AvinashReddy3108
AvinashReddy3108 / gogh2Termux.sh
Last active Oct 14, 2020
A dirty script to convert Gogh Terminal script to the Termux colorscheme format
View gogh2Termux.sh
#!/usr/bin/env bash
current=1
current_dir=$(pwd)
total=$(ls ../Gogh/themes/*.sh | wc -l)
cd ../Gogh && git pull --ff-only; cd $current_dir
for x in ../Gogh/themes/*.sh
do
filename=$(basename -- "$x")
scheme_file="${filename%.*}"
scheme_name=$(grep -Po '(?<=export PROFILE_NAME=).*' "$x" | tr -d '"')
View keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object: