https://github.com/lordfckhelmchen/git-commands
Contains .bashrc, .bash_aliases, .profile, git-prompt and other useful bash modifications
https://github.com/lordfckhelmchen/git-commands
bash-alias bash-hacks bash-profile bash-prompt bashrc git-bash
Last synced: 8 days ago
JSON representation
Contains .bashrc, .bash_aliases, .profile, git-prompt and other useful bash modifications
- Host: GitHub
- URL: https://github.com/lordfckhelmchen/git-commands
- Owner: LordFckHelmchen
- License: agpl-3.0
- Created: 2022-08-12T09:05:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-04-17T14:05:47.000Z (14 days ago)
- Last Synced: 2026-04-17T16:11:24.012Z (14 days ago)
- Topics: bash-alias, bash-hacks, bash-profile, bash-prompt, bashrc, git-bash
- Language: Shell
- Homepage:
- Size: 217 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# git-commands
Contains bash configurations and other useful bash modifications (e.g. git-prompts, git aliases, ...)
## Purpose
This repository contains personal shell/tooling configuration files and helper scripts for:
- Bash (`bash/`)
- Git (`git/`)
- Themes and prompt configuration (`themes/`, `windows-terminal/`, `power-toys/`)
- VS Code settings (`vscode/`)
- Small utility scripts (`python/`)
## Prerequisites
- Python 3.10+ available as `python`
- Git Bash (recommended on Windows)
- Symlink permissions on Windows (run terminal as Administrator or enable Developer Mode)
## Quick Start
From the repository root, create/update symlinks into your home directory:
```bash
python symlink_files.py
```
This links core files such as:
- `bash/.bashrc`, `bash/.bash_aliases`, `bash/.bash_profile`, `bash/.bash_completion` -> `$HOME/`
- `git/.gitconfig` -> `$HOME/.gitconfig`
### Optional prompt setup
Use the bash-native git prompt:
```bash
python symlink_files.py --link_git_prompt
```
This additionally links:
- `bash/git-prompt.sh` -> `$XDG_CONFIG_HOME/bash/git-prompt.sh` (or `$HOME/.config/bash/git-prompt.sh`)
Use Starship instead:
```bash
python symlink_files.py --link_starship_config
```
This links:
- `themes/starship.toml` -> `$XDG_CONFIG_HOME/starship.toml` (or `$HOME/.config/starship.toml`)
### Overwrite existing files
If destination files already exist, force replacement:
```bash
python symlink_files.py --force
```
## Repository Contents
- `bash/`: bash startup files and prompt script
- `git/`: git helper scripts
- `github/`: GitHub workflow YAML snippets
- `python/`: utility scripts and example configs
- `themes/`: theme docs and Starship config
- `vscode/`: VS Code settings/profile exports
- `windows-terminal/`: Windows Terminal profile and color schemes
## Notes
- `--link_git_prompt` and `--link_starship_config` are mutually exclusive.
- Re-run the symlink script any time you add or change tracked config files.