Beautiful, functional, and personalized CLI environment for Termux
Created by Farid Fathoni Nugroho
A comprehensive Termux configuration featuring a custom Zsh theme, intelligent bash functions, and developer-focused shortcuts for an enhanced mobile development experience.
- π¨ Custom ASCII Art Banner - Beautiful purple-cyan gradient welcome screen
- π Smart Command Aliases - Quick shortcuts for common tasks
- π Enhanced Directory Listing - Colorful and informative
lsoutput - π§ Developer Tools Integration - Git, Node.js, PHP, MariaDB, Redis, and more
- π― Custom Functions - Code editor integration, dynamic MOTD, and more
- π Quick Reference System - Built-in documentation for React, JavaScript, Git, and Termux commands
- π Base16 3024 Color Scheme - Eye-friendly dark theme with vibrant accents
- β‘ Oh My Zsh Integration - Enhanced shell with plugins and custom theme
- Termux installed on Android device
- Internet connection for package downloads
- Storage permission granted to Termux
-
Clone or download this repository:
cd ~ git clone <your-repo-url> termux-setup cd termux-setup
-
Run the setup script:
chmod +x setup.sh ./setup.sh
-
Follow the prompts:
- Choose whether to install packages from
packages.txt - Decide if you want Oh My Zsh installed (recommended)
- Choose whether to install packages from
-
Restart Termux to apply all changes
| File | Location | Purpose |
|---|---|---|
.zshrc |
~/ |
Zsh configuration with custom theme |
.bashrc |
~/ |
Bash configuration with functions and aliases |
.profile |
~/ |
Sources .bashrc on login |
colors.properties |
~/.termux/ |
Custom color scheme |
termux.properties |
~/.termux/ |
Termux app settings |
exfavorite.zsh-theme |
~/.oh-my-zsh/custom/themes/ |
Custom Zsh prompt theme |
Development Tools:
- git, gh (GitHub CLI)
- nodejs, yarn, npm
- php, php-fpm, composer
- python, python-pip
- clang, make, llvm
Database & Cache:
- mariadb, redis
Networking:
- nginx, openssh
- curl, wget (via inetutils)
Utilities:
- zsh, oh-my-zsh
- nano, tree, neofetch
- figlet, jp2a
- ncdu, man, lessEvery time you open a new terminal session or type clear, you'll see:
____ _____ _____ _ _
/ __ \| ____|_ _| ___|_ ___ _____ _ __(_) |_ ___
/ / _ `| _| \ \/ / |_ / _ `\ \ / / _ \| "__| | __/ _ \
| | (_| | |___ > <| _| (_| |\ V / (_) | | | | || __/
\ \__,_|_____/_/\_\_| \__,_| \_/ \___/|_| |_|\__\___|
\____/ By : Farid Fathoni N ~
Selamat datang di terminal @FaDevelopment !Apply colors to terminal output:
color "Hello World" purple
color "Error message" red
color "Success!" greenAvailable colors: black, red, green, yellow, blue, purple, cyan, white
Open files in Acode editor:
code # Open Acode
code index.html # Open specific file
code src/App.jsx # Open with pathAutomatically shows:
- Colored directory listing
- Current working directory
- Decorative borders
Edit the ASCII art in .bashrc:
nano ~/.bashrc
# Find the clear() function and modify the echo statementsobash
# Add at the bottom:
alias mycommand="your command here"
# Save, then:
reloadEdit the color scheme:
nano ~/.termux/colors.propertiesAdd your own reference guides:
cd ~/kamus
nano myguide.sh
# Write your guide, then add alias in .bashrc:
alias myguide='~/kamus/myguide.sh'- git - Git aliases and tab completion
- zsh-autosuggestions - Fish-like command suggestions
- zsh-syntax-highlighting - Real-time syntax highlighting
Custom theme featuring:
- Current directory display
- Git branch and status indicators
- Color-coded prompt based on command success
- Clean, minimal design
If the welcome message doesn't match your .bashrc banner:
bash ~/.update_motd.shEnsure the theme file exists:
ls ~/.oh-my-zsh/custom/themes/exfavorite.zsh-themeIf missing, copy from backup:
cp oh-my-zsh-custom/themes/exfavorite.zsh-theme ~/.oh-my-zsh/custom/themes/Check if colors.properties is in the right place:
ls ~/.termux/colors.propertiesApply colors:
termux-reload-settingsReload your configuration:
source ~/.bashrc
source ~/.zshrctermux-setup/
βββ .bashrc # Bash configuration & aliases
βββ .zshrc # Zsh configuration
βββ .profile # Login profile
βββ .termux/
β βββ colors.properties # Color scheme
β βββ termux.properties # App settings
βββ oh-my-zsh-custom/
β βββ themes/
β βββ exfavorite.zsh-theme # Custom Zsh theme
βββ kamus/ # Reference guides (not included)
β βββ termux.sh
β βββ github.sh
β βββ react.sh
β βββ javascript.sh
β βββ color.sh
βββ packages.txt # Package list
βββ setup.sh # Automated setup script
βββ README.md # This fileThis is a personal configuration, but feel free to:
- Fork and adapt for your needs
- Suggest improvements via issues
- Share your own customizations
This configuration is free to use and modify. Created with π by Farid Fathoni Nugroho.
- Oh My Zsh - Framework for managing Zsh configuration
- Base16 - Color scheme foundation
- Termux Community - For the amazing Android terminal emulator
If you encounter issues:
- Check the troubleshooting section above
- Review your modifications to config files
- Restore from backup if needed
Happy coding from your mobile terminal! ππ
"Coding isn't just about logic... it's about putting your heart into the screen."
β Farid Fathoni Nugroho