Skip to content

paul's shell, git, etc config files. also homebrew, migration setup. good stuff.

Notifications You must be signed in to change notification settings

chrisjlebron/dotfiles-old

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My dotfiles

Easily and consistenly setup your machines and keep them in sync.

TODO

For Warp

  • keep the preprompt render from Pure
  • keep z?
  • keep the git plugins from omz??
  • keep zsh-async for for git status checks, etc.?
  • keep auto-ls
  • keep init rbenv
  • keep init brew & prefix stuff
  • keep file sourcing loop
  • keep history/hist stuff??
  • keep $JAVA_HOME check

In General

  • Consider updating to only worry about zsh
  • Replace zplug with newer hotness
    • zpm?
    • zi?
    • zimfw?
    • zinit?
    • zgenom?
    • zgem?
    • zcomet?
    • sheldon???
    • look at zsh-bench
  • Review applications.txt and move to official location
  • Review .osx and explore replacement options
  • Reorganize!

Migration Setup

On old machine

Follow backup instructions from setup-a-new-machine.sh

On new machine

  • Continue with instructions in setup-a-new-machine.sh
  • download xcode command line tools
  • read and run parts of setup-a-new-machine.sh
  • read and run symlink-setup.sh
    • git config needs attention, read the notes.
  • use it. yay!

maintenance

  • branch for any big changes (e.g. new zsh plugin manager)
  • commit/push changes you want

some good parts

So many goodies.

The "readline config" (.inputrc)

Basically it makes typing into the prompt amazing.

  • tab like crazy for autocompletion that doesnt suck. tab all the things. srsly.
  • no more that says "Display all 1745 possibilities? (y or n)" YAY
  • type cat <uparrow> to see your previous cats and use them.
  • case insensitivity.
  • tab all the livelong day.

Moving around in folders (z, ..., cdf)

z helps you jump around to whatever folder. It "magically" determines where you should jump to. And it allows partial matches.

Seperately there's some ... aliases to shorten cd ../.. and .., .... etc. Then, if you have a folder open in Finder, cdf will bring you to it.

z dotfiles
z dev
....      # drop back equivalent to cd ../../..
cdf       # cd to whatever's up in Finder
# etc. etc.
z dot # opens dotfiles

z learns only once its installed so you'll have to cd around for a bit to get it taught. Lastly, open . to opens Finder from any path. (That's just available normally.)

overview of files

Automatic config

  • .vim - vim config, obv.
  • .inputrc - behavior of the prompt line

shell environment

  • .aliases
  • .bash_profile
  • .bash_prompt
  • .bashrc
  • .zshrc
  • .exports
  • .functions
  • .extra - not included, explained above

manual run

  • setup-a-new-machine.sh - migration & setup instructions
  • symlink-setup.sh - sets up symlinks for all dotfiles and vim config.
  • .osx - run on a fresh osx setup
  • Brewfile - homebrew initialization

git

  • .git - prob don't touch this
  • .gitconfig
  • .gitconfig.local.template
  • .gitignore
  • .gitignore_global
  • .gitignore.template

.extra for your private configuration

There will be items that don't belong to be committed to a git repo, because either 1) it shoudn't be the same across your machines or 2) it shouldn't be in a git repo. Kick it off like this:

touch ~/.extra

This might include some EXPORTS, PATH construction, and sensitive aliases

Sensible OS X defaults

Mathias's repo should be consulted first / copied.

./.osx

About

paul's shell, git, etc config files. also homebrew, migration setup. good stuff.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 71.4%
  • Ruby 14.6%
  • Vim Script 14.0%