zak-admin / termux-bashit

Style your Termux without changing your shell. OH-MY-ZSH alternative.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

termux-bashit

Style your Termux without changing your shell. OH-MY-ZSH alternative.

Requirements

  1. Termux App from Fdroid
  2. Termux Styling from Fdroid

termux-bashit

Note-01: From Froid because App on Play Store does not get any Latest Updates.

Note-02: This is a guide how to use bash-it framework to make your termux look good and easy to use.

Steps

  1. Basic Styling using Termux Style addon:
  • Change Color : Nancy Steps:

    1. Long Press anywhere on Termux
    2. Select more
    3. Then style
    4. Finally choose color
  • Change Font : VictorMono Steps:

    1. Long Press anywhere on Termux
    2. Select more
    3. Then style
    4. Finally choose font

termux-bashit

  1. Clone and Install Bash-it framework
git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it
~/.bash_it/install.sh
  1. Change Theme to agnoster as in the image in line 14
source ~/.bashrc
nano -l .bashrc

termux-bashit

  1. Append LOGNAME variable into theme file.
  • You can find theme files under ~/.bash_it/themes/ directory
  • I had used anything as my LOGNAME in the sample picture above.
  • You can use anything as a logname by replacing $anything in below code.
echo LOGNAME=$anything >> ~/.bash_it/themes/agnoster/agnoster.theme.bash
  • If you want to use your real LOGNAME which you can find using command logname. Use the following code instead.
echo LOGNAME=$(LOGNAME) >> ~/.bash_it/themes/agnoster/agnoster.theme.bash
  1. Enable the Theme
source ~/.bashrc
exec bash

That's it you can play with bash-it.

About

Style your Termux without changing your shell. OH-MY-ZSH alternative.