Skip to content

Instantly share code, notes, and snippets.

@Riey
Last active February 2, 2020 03:11
Show Gist options
  • Save Riey/9011d8d64042f2308df89748c6273ef7 to your computer and use it in GitHub Desktop.
Save Riey/9011d8d64042f2308df89748c6273ef7 to your computer and use it in GitHub Desktop.
termux prepare
#!/bin/bash
apt update && apt install -y wget bsdtar zsh
mkdir -p ~/zsh
curl -L git.io/antigen > ~/zsh/antigen.zsh
chsh -s zsh
echo '
source ~/zsh/antigen.zsh
antigen use oh-my-zsh
antigen bundle cp
antigen bundle zdharma/fast-syntax-highlighting
antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-autosuggestions
antigen theme ys
antigen apply
export LESSCHARSET=utf-8
' > ~/.zshrc
mkdir -pv d2coding
wget -qO- "https://github.com/naver/d2codingfont/releases/download/VER1.3.2/D2Coding-Ver1.3.2-20180524.zip" | bsdtar -xvf-
mkdir -pv ~/.termux
mv D2Coding/D2Coding-Ver1.3.2-20180524.ttf ~/.termux/font.ttf
cd ~
rm -rf ./d2coding
wget -O ~/.termux/colors.properties "https://raw.githubusercontent.com/termux/termux-styling/master/app/src/main/assets/colors/argonaut.properties"
termux-reload-settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment