These are my dotfiles. There are many like them, but these ones are mine.
Notes to Future Sams:
New computer?
- clone this repo to ~/dotfiles
cd dotfiles
- Set up shell helpers, aliases, config files, and so on:
./symlink_all_the_things
- Make sure homebrew is installed: https://brew.sh/
brew install macvim
to get a reasonable version of Vimbrew install thefuck
because it's funny and usefulbrew install bat
- Launch vim and run
:PlugInstall
- Install some Ruby version manager (probably rbenv):
- RVM: http://rvm.io/
- rbenv: https://github.com/rbenv/rbenv
- asdf:
brew install asdf
brew install openssl libyaml libffi
(required by theasdf-ruby
plugin; note that this may cause some Ruby Woes below)asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git
- Install some Python version manager:
- pyenv:
brew install pyenv
- pyenv:
Ruby Woes
mysql2
gem to build properly?
Trouble getting Ruby's You probably need to add a few hints about where stuff is. (Obviously, double-check the paths below; new computers may not need to run MySQL 5.6, for example.)
- If mysql_config can't be found, try adding:
-- --with-mysql-config=/usr/local/opt/[email protected]/bin/mysql_config
- If
-lss
can't be linked, try adding:-- --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include
Python Woes
None of my Vim Python tools work!
- Install 'pyenv' (if you haven't already)
- Use pyenv to install a Python 3 (probably 3.6+).
- Make that Python the defaut using, e.g., 'pyenv global 3.8.1'
- Restart Vim
- Hope that works, because that's all I got right now... -me, Jan 2020
--
Clever ideas I could possibly implement at some point:
- add an indicator to the prompt showing whether the last command had an exit status of 0