All Projects → cmilr → Git-Beautify-For-MacOS-Terminal

cmilr / Git-Beautify-For-MacOS-Terminal

Licence: MIT license
An easy-to-use set of config files to beautify Git in your MacOS or OS X terminal. If you find it hard to parse a jumble of mono-colored type on your command line, this set-up can help you tame the ugly bash beast.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Git-Beautify-For-MacOS-Terminal

Mbeautifier
MBeautifier is a MATLAB source code formatter, beautifier. It can be used directly in the MATLAB Editor and it is configurable.
Stars: ✭ 248 (+95.28%)
Mutual labels:  beautify, beautifier
Latexindent.pl
Perl script to add indentation (leading horizontal space) to LaTeX files. It can modify line breaks before, during and after code blocks; it can perform text wrapping and paragraph line break removal. It can also perform string-based and regex-based substitutions/replacements. The script is customisable through its YAML interface.
Stars: ✭ 415 (+226.77%)
Mutual labels:  beautify, beautifier
tag-picker
Better tags input interaction with JavaScript.
Stars: ✭ 27 (-78.74%)
Mutual labels:  beautify, beautifier
Go Mod Outdated
Find outdated dependencies of your Go projects. go-mod-outdated provides a table view of the go list -u -m -json all command which lists all dependencies of a Go project and their available minor and patch updates. It also provides a way to filter indirect dependencies and dependencies without updates.
Stars: ✭ 474 (+273.23%)
Mutual labels:  beautify, beautifier
Uncrustify
Code beautifier
Stars: ✭ 2,442 (+1822.83%)
Mutual labels:  beautify, beautifier
Atom Beautify
📣 Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | 💄 Universal beautification package for Atom editor (⚠️ Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding ❤️ )
Stars: ✭ 1,501 (+1081.89%)
Mutual labels:  beautify, beautifier
Unibeautify
One Beautifier to rule them all, One Beautifier to clean them, One Beautifier to bring them all and in the darkness sheen them
Stars: ✭ 466 (+266.93%)
Mutual labels:  beautify, beautifier
Pp sql
Rails ActiveRecord SQL queries log beautifier
Stars: ✭ 223 (+75.59%)
Mutual labels:  beautify, beautifier
Lme
An npm package to simply and beautifully log to console.
Stars: ✭ 29 (-77.17%)
Mutual labels:  color-scheme, beautify
Ciapre.tmTheme
Ciapre - an easy-on-the-eyes Sublime Text/TextMate color scheme.
Stars: ✭ 63 (-50.39%)
Mutual labels:  color-scheme
listbox
💬 listbox element for bash
Stars: ✭ 44 (-65.35%)
Mutual labels:  bashrc
revenant
minimalistic visual studio code color theme
Stars: ✭ 22 (-82.68%)
Mutual labels:  color-scheme
dotfiles
/home/yous
Stars: ✭ 43 (-66.14%)
Mutual labels:  bashrc
vscode.nvim
Neovim/Vim color scheme inspired by Dark+ and Light+ theme in Visual Studio Code
Stars: ✭ 362 (+185.04%)
Mutual labels:  color-scheme
dotfiles
.foos for foos & more
Stars: ✭ 21 (-83.46%)
Mutual labels:  bashrc
onedark-termite
Port of the Atom's One Dark colors for Termite
Stars: ✭ 25 (-80.31%)
Mutual labels:  color-scheme
xcbeautify
A little beautifier tool for xcodebuild
Stars: ✭ 687 (+440.94%)
Mutual labels:  beautifier
flavours
🎨💧 An easy to use base16 scheme manager that integrates with any workflow.
Stars: ✭ 331 (+160.63%)
Mutual labels:  color-scheme
celldown.js
Small javascript library for manipulating markdown tables
Stars: ✭ 17 (-86.61%)
Mutual labels:  beautify
sublime-color-scheme-unit
A testing framework for Sublime Text color schemes.
Stars: ✭ 19 (-85.04%)
Mutual labels:  color-scheme

GitHub release  Platform  GitHub issues  GitHub license  Code of Conduct 

Git Beautifier For MacOS & OS X Terminal

Transform your command line from ugly and painful to delightful and easy-to-read.

Setup

First things first, you'll want to install a nice color theme for your terminal. The one in the screenshot above is called Monokai Soda Custom, and you'll find it included in the repo. I based it off of the most excellent Monokai Soda theme, found here.

Load the theme by opening up your mac terminal and navigating to Preferences > Profiles > Import, and then set the theme as your default.

Now log into your bash terminal and punch in the following git config commands. You should be able to copy & paste them as a full block and just hit return. This tells git that we want color in our UI, and sets specific colors for specific file status types.

git config --global color.ui true
git config --global color.status.changed "blue normal"
git config --global color.status.untracked "red normal"
git config --global color.status.added "magenta normal"
git config --global color.status.updated "green normal"
git config --global color.status.branch "yellow normal bold"
git config --global color.status.header "white normal bold"

Now you'll need to update your .bash_profile with the contents of the bash_profile included in the repo. The easiest way to do this will be to first show all hidden files on your system, because .bash_profile is usually set to invisible. You can show hidden files by pasting the following command into your terminal.

defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app

Once your finder reloads, you should be able to see all hidden files. In the finder, navigate to Users/YourUserNameHere, and you should see .bash_profile listed in the directory. If you don't, you simply have to create one yourself (just place an empty text file there and name it .bash_profile.)

Either way, open your .bash_profile and paste in the contents of the bash_profile included in this repo (paste it beneath any other content that's already in there.) Now save the file.

Congratulations! Your .bash_profile now includes all the code that your terminal needs to display it's UI in color, including a nicely colorized bash -ls command, a customized command prompt, and aliases for a number of highly-readable git log formats. You can customize these to your heart's content, but hopefully this will give you a solid jumping-off point.

Now let's hide those invisible files again, by pasting the following command into the terminal and hitting return.

defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app

Restart the terminal app, and you're ready to go!

Usage

With any luck, you should now have a nice looking command line terminal running on your Mac. If you like, point the terminal to one of your git repositories and take a few of the included git log aliases for a ride.

log

Type in 'log' and hit return, and you should get a nicely formatted basic log, starting with a list of refs on top, followed by all your commits.

Now explore the other colorized aliases if you like:

  • 'log' displays a basic git log with single-line commit messages only (this is the one I use most often.)
  • 'logv' displays a more verbose log, including email addresses for commit authors.
  • 'logg' displays an ascii graph of your branches, along with basic log info.
  • 'loggv' displays an ascii graph of your branches, along with more verbose log info.
  • 'logm' displays multi-line commit messages.
  • 'refs' displays your repo's refs and abbreviated hashes.
  • 'remotes' display your repo's remotes and remote branches.

Lastly, type in the trusty '-ls' bash command and you should see a nicely colorized list of files, directories, etc.

Well, that's it. You're good to go!

Questions? Drop Us a Line!

Contact

License

Distributed under the MIT license. See LICENSE for more information.

Thanks for stopping by!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].