Sunday, December 01, 2019

termux powerline status configuration

termux is a terminal emulator and Linux environment on Android. To make it even better (looks), enable powerline-status. Start by installing git on termux, like:

x1@x1-pc:~$ pkg install git

Then clone termux-style, like:
x1@x1-pc:~$ git clone https://github.com/adi1090x/termux-style.git
x1@x1-pc:~$ cd termux-style
x1@x1-pc:~$ chmod +x setup
x1@x1-pc:~$ ./setup
x1@x1-pc:~$ termux-style

Then install Python, like:
x1@x1-pc:~$ pkg install python

Next up, install powerline-status, like:
x1@x1-pc:~$ pip install powerline-status

Update ~/.bash_profile to load powerline-status, like:
export PATH=$PATH:/data/data/com.termux/files/usr/lib/python3.8/site-packages
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /data/data/com.termux/files/usr/lib/python3.8/site-packages/powerline/bindings/bash/powerline.sh
view raw .bash_profile hosted with ❤ by GitHub


//xyz

No comments:

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04 I am planning to run qemu-system-ppc to play around QEMU ...