Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.
/ bashrc Public archive

Lucas' .bashrc file, including git aliases, git alias autocomplete, and git prompt customisation.

License

Notifications You must be signed in to change notification settings

lucascosti/bashrc

Repository files navigation

Lucas' .bashrc

This is my .bashrc file. Feel free to clone/copy and reuse as you like.


IMPORTANT: This repository is no longer maintained. I switched to using Zsh as my default shell in August 2019. You can find my current Zsh configuration in its own repo.


Since commit 4ffd872, my .bashrc file is used on my work Macbook (and thus the older version of bash that MacOS uses). The last commit that I used on Linux was 06c5849.

I use two additional scripts for easier git usage, both of which are placed in my ~/bashscripts directory. You can download/clone these scripts from their original repositories (linked below).

  • git-completion.bash: This enables git auto-completion on my git aliases. This allows me to press the tab key after entering a git alias to auto-complete things, such as branch names.

  • bash-git-prompt: A very handy bash prompt customisation that shows the status of the repository (things like the current branch, number of staged/modified/untracked files, etc.).

    I have also included my custom theme files for the bash-git-prompt. To use these themes, download them to your bash-git-prompt/themes directory, and change the GIT_PROMPT_THEME variable in your .bashrc file to the name of the theme.

About

Lucas' .bashrc file, including git aliases, git alias autocomplete, and git prompt customisation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages