If you find this repository useful, please consider giving it a star ⭐️ to show your support (This Repo will keep getting updated). Don't forget to follow me on GitHub for more awesome content and updates! Every star inspires me to create even more powerful tools. 💻✨
Active Git Status [ Copy Code]
A Zsh config that builds a custom prompt showing git branch, sync status (ahead/behind origin/main), and active Python virtual environment name — all surviving venv activation and deactivation without flickering or resetting.
Beautiful Git History View [ Copy Code]
Creates a ghist alias for a compact, visually enhanced Git log. Displays commits as a graph with abbreviated hash, author, relative time, and message.
Highlight Uncommitted Git Changes [ Copy Code]
Adds a gu alias to display uncommitted changes in a Git repository, filtering out untracked files for a cleaner status view.
Quick Git Commit and Push [ Copy Code]
Defines a quick_commit function for fast Git operations. Stages all changes, commits with a custom or default message ("Quick update"), and pushes to the repository. An alias gitfast simplifies usage for rapid commits and testing. Example: gitfast "My comment".
Auto-pull GIT on cd into a repo (with cooldown) [ Copy Code]
This script overrides cd to automatically run git pull in Git repositories, with a cooldown (GIT_PULL_COOLDOWN) to limit frequency. It detects Git repos, tracks the last pull time (GIT_PULL_LAST_RUN), and ensures seamless updates during directory changes.
Git Repository Dashboard [ Copy Code]
Defines a git_dashboard function to display the last update time for Git repositories in the current directory. Lists repositories with their most recent commit timestamps in a tabular format. The alias gdash provides a quick way to run this dashboard.
Git Dirty Status Indicator [ Copy Code]
Adds a git_dirty function to display -GitItNow in the shell prompt (PS1) when there are uncommitted changes in the current Git repository, helping to keep track of pending work.
ASCII Art Welcome Message [ Copy Code]
Defines and displays an ASCII art welcome message on terminal startup. The print_ascii_art function prints a stylized graphic and a greeting to enhance the user experience.
Dynamic Emoji in Shell Prompt [ Copy Code]
This script adds a dynamic emoji to the shell prompt (PS1) by randomly selecting from a predefined list of emojis each time the prompt is displayed. It enhances the visual appeal and injects fun into the terminal experience.
Deadline Progress Tracker [ Copy Code]
Defines a days_until_deadline function to calculate and display progress toward a set deadline. It shows the percentage of time completed and the days elapsed/remaining. Integrates with the shell prompt (PS1) to provide real-time updates.
Directory context-based Command Suggestions [ Copy Code]
This script suggests context-specific commands based on the current directory. It detects changes in the working directory and, for predefined paths (e.g., /analysis/code/ or /analysis/trainModel), displays relevant commands. The PROMPT_COMMAND ensures suggestions run automatically with each prompt refresh.