Skip to content

This is the repository for KISRDevelopment's standard Bash Profile

Notifications You must be signed in to change notification settings

KISRDevelopment/BashProfile

Repository files navigation

BashProfile

This is the repository for KISRDevelopment's standard Bash Profile for Mac OSX. It provides useful extended functionality such as autocompletion and a smart Git Prompt.

Feel free to use it as you please, customize it, change it.

Setup

Setting up your profile in the following way means it will update every time you pull from this repository:

  1. Clone this repository:

    git clone https://github.com/KISRDevelopment/BashProfile.Git
    
  2. In your current ~/.bash_profile, set $PROFILE_HOME to the clone directory:

    export PROFILE_HOME=/location/where/you/cloned/this/repository
    
  3. At the end of your current ~/.bash_profile source the bash_profile.sh file from this repository:

     source /location/where/you/cloned/this/repository/bash_profile.sh    
    

List of Files

  • .bash_profile:

    This is your main profile. This is the default file that your terminal will source every time it runs. This file sources other files which contain completion scripts, color codes, extra functions, etc

  • bash_colors.sh:

    This file has a list of convenience variables each representing a color code. It makes it easier for you to add colors to your prompts and scripts.

  • git-prompt.sh:

    This is not the standard git-prompt from GitHub. This is a simplified custom script that lets you know the name of your current branch by appending it to your prompt. It will also color code the branch name to let you know the state of your branch.

  • git-completion.sh:

    This script comes directly from GitHub and git-scm. It provides complex and extremely useful tab-completion for git on the command line.

  • django-autocomplete.sh:

    This is the standard django completion script. It gives you tab-completion for manage.py on the command line.

Contributing

These files are for all of us to use and customize. If you want to make modifications, report bugs, add new features you should feel free to do so. Just document your suggestions and changes using the Issue Tracker.

About

This is the repository for KISRDevelopment's standard Bash Profile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages