SkillAgentSearch skills...

Bashrc

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

Install / Use

/learn @lucascosti/Bashrc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars42
CategoryDevelopment
Updated2y ago
Forks16

Languages

Shell

Security Score

75/100

Audited on Jul 25, 2023

No findings