Skip to content

A utilitarian, horizontal-space-saving oh-my-zsh theme that shows your IP, even on Termux

License

Notifications You must be signed in to change notification settings

swomf/netmask-zsh-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netmask theme

A non-intrusive, Termux-first utilitarian theme for oh-my-zsh.

  • IPv4 address
    • compatible with both Termux-friendly ifconfig and normal devices' ip addr
  • Full directory structure
  • Git branch and status
  • Virtual environment
  • Support for the new high-speed async prompt

Netmask theme preview

Tested on rootless Android 13+ Termux and various desktop Linux distributions.

Installation

Although Termux users can simply manually copy netmask.zsh-theme to the $ZSH/themes directory, it is recommended to run the interactive installer.

$ git clone https://github.com/swomf/netmask-zsh-theme
$ cd netmask-zsh-theme
$ ./install.sh

The installer does the following:

  • Replaces ifconfig calls with ip addr calls for non-Termux users
  • Replaces wlan0 with your chosen Predictable Network Interface Name (if needed)
  • Ensures that permissions are set correctly for non-Termux users

Inspiration

No code was reused.

About

A utilitarian, horizontal-space-saving oh-my-zsh theme that shows your IP, even on Termux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages