A Very Fancy Bash Prompt 🎩
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
example.png
fancy-prompt.sh
outdated-packages.sh

README.md

fancy-prompt

A Very Fancy 🎩 Bash Prompt for Macos

Demo

Installation

Clone this repository.

Assuming you clone it into ~/bin/fancy-prompt:

  • Add to your ~/.bash_profile: source ~/bin/fancy-prompt
  • Add the following to cron, using crontab -e

PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin

@hourly date >> /tmp/.pack-update-log && /Users/joedeveloper/bin/fancy-prompt/outdated-packages.sh >> /tmp/.pack-update-log
@reboot date >> /tmp/.pack-update-log && /Users/joedeveloper/bin/fancy-prompt/outdated-packages.sh >> /tmp/.pack-update-log
@daily mv /tmp/.pack-update-log /tmp/.pack-update-log.yesterday && touch /tmp/.pack-update-log

Enjoy!