Giter Site home page Giter Site logo

swashata / awesome-bash-prompt Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 1.15 MB

A bash prompt with FontAwesome and oh-my-git. Icons used from nerd-fonts for windows compatibility. Lovingly forked from https://github.com/arialdomartini/oh-my-git

License: MIT License

Shell 100.00%

awesome-bash-prompt's Introduction

Awesome Git Prompt

screenshot

This project aims to provide an awesome git aware bash prompt for Varying Vagrant under Windows.

But it will definitely work for any host OS.

Lovingly Forked from oh-my-git

Installing Fonts

  • Install the provided fonts. If you are on Windows, then install the Windows Compatible one.
  • Under Windows open Git Bash. Right click on the title bar and go to Options > Text.
  • Select the FuraCode NF font with 12pt size.
  • Apply and save changes.

Installing the prompt

Under your vagrant, first ssh into the box.

vagrant ssh

Now once under vagrant, run this command.

git clone https://wpquark.io/vagrant/bash-prompt-awesome.git ~/.oh-my-git && echo source ~/.oh-my-git/prompt.sh >> ~/.bashrc

Now restart the prompt. Under windows

exit
vagrant ssh

Enjoy.

Disabling oh-my-git

oh-my-git can be disabled on a per-repository basis. Just add a

[oh-my-git]
enabled = false

in the .git/config file of a repo to revert to the original prompt for that particular repo. This could be handy when working with very huge repository, when the git commands invoked by oh-my-git can slow down the prompt.

Uninstall

Bash

  • Remove the line source ~/.oh-my-git/prompt.sh from the terminal boot script (.profile or .bash_rc)
  • Delete the oh-my-git repo with a rm -fr ~/.oh-my-git

For More information, do check the original repo.

awesome-bash-prompt's People

Contributors

andreagrandi avatar argoyle avatar arialdomartini avatar blackwood avatar cy4n avatar fcamblor avatar lvivski avatar oalders avatar phantom10111 avatar stonewareslord avatar swashata avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.