Peter's Dot Files
IMPORTANT change name and email in .gitconfig after installation
Installation
git clone git://github.com/pitr/config_files ~/.config_files cd ~/.config_files rake install
Environment
Mac OS X will work. UNIX-based OS should work (the only problem is EDITOR is Sublime Text).
Uses starship for command prompt.
Uses atuin for synchronizing shell history. Sets up litestream to synchronize history to S3. Make sure to update ~/.config/litestream.yml with proper credentials and bucket name.
Ctrl-R runs the command entered and pipes it to fzf | pbcopy.
Commands
Fish
Adds ~/bin to PATH if it exists.
Adds ~/code to CDPATH. c is alias for cd.
Usual ls, ll, l, .. stuff.
Shortcuts for most used programs:
g - git v - vim e - Sublime Text
=== Ruby Gem
Disables generation of ri and rdoc.
=== 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
=== IRB
Adds colour and better inspector (looksee).
=== Screen
Initializes 6 windows: main, code, gcc, git, irc, etc