https://github.com/pitr/config_files
My config files (aka dotfiles)
https://github.com/pitr/config_files
Last synced: 11 months ago
JSON representation
My config files (aka dotfiles)
- Host: GitHub
- URL: https://github.com/pitr/config_files
- Owner: pitr
- Created: 2011-06-14T21:39:47.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2025-01-30T22:20:26.000Z (over 1 year ago)
- Last Synced: 2025-01-30T23:23:38.683Z (over 1 year ago)
- Language: Lua
- Homepage:
- Size: 530 KB
- Stars: 10
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Peter's Dot Files
***IMPORTANT*** set user.name and user.email in `.gitconfig` after installation
## Installation
git clone git://github.com/pitr/config_files
cd config_files
rake install
## Environment
Mac OS X will work. UNIX-based OS should work (the only problem: EDITOR is Sublime Text).
Uses [starship](https://starship.rs/) for command prompt.
## Commands
### Fish
Adds ~/bin to PATH if it exists.
Adds ~/code to CDPATH. `c` is alias for cd.
Usual `ls`, `ll`, `l`, .., ... and other aliases.
Shortcuts for most used programs:
g - git
v - vim
e - Sublime Text
### Git
Adds shortcuts like:
g # git status -sb
gb # git branch -a -v
gc # git commit -m
ga # git add
gadd # git add -u && git add . && git status
gco # git checkout
gd # git diff --word-diff (since git 1.7.2)
gg # git graph ...
gpl # git pull --rebase
gps # git push
gup # git up (install git-up gem first)
gbc # cleans up merged branches locally
gpr # open pull request in web browser
And so forth. Find all in [fish_variables](https://github.com/pitr/config_files/blob/master/config/fish/fish_variables)