A set of vim, fish, git, and tmux configuration files.
Inspired by thoughtbot/dotfiles. (No longer needed though).
- Install 1Password
- Activate accounts
- SSH setup has to wait until later
- Download your personal ssh key from 1password and put into the
~/.sshfolder
Clone dotfiles
git clone git@github.com:GertjanReynaert/dotfiles.gitRun the bash script from the brew.sh homepage
As ZSH is at this point still MacOS's default shell, you'll need to do the brew
setup in your .zshrc file to be able to use brew.
As you're installing fish with brew, you'll first need brew to work in ZSH.
TODO: fill in config hereBy starting an install, all dependendies in the brewfile will be installed.
brew bundleInstall rcm (brew package name for rcup) && register dotfiles folder for rcup installation
env RCRC=$HOME/dotfiles/rcrc rcupSet Fish as default shell
./docs/fish_setupUnclear at this point.
I suspect this theme is included in the dotfiles fish folder.
As Fish Pure has switched to fisher, you can still do the manual install through their website.
TODO:
- Explore Fisher
- Oh My Posh
Do the manual install of pure Fish from the github repo
brew tap jandedobbeleer/oh-my-posh
brew install oh-my-posh
oh-my-posh --init --shell fish --config (brew --prefix oh-my-posh)/themes/pure.omp.json | sourceInstall global runtimes for nodejs, ruby and others
asdf installOfficial 1Password guide for activating ssh support
Official 1Password guide of configuring ths ssh client (summarized below)
- Add the snippet below to
~/.ssh/config
Host *
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"- The guide will also mention that you need to export the
SSH_AUTH_SOCKvariable, but that's already done inexports.fish
THIS IS THE MAIN REASON WHY THE SSH SETUP NEEDED TO WAIT IN THE START:
as exports.fish is only available after the dotfiles are fetched, you have an unusable ssh setup to clone the dotfiles in the first place.
By running ssh-add, you can get the list of all available SSH keys. If the setup was correctly done, this should show you all keys available through 1Password
ssh-add -lNow you can remove the manually downloaded ssh key from the ~/.ssh folder, as
you can now safely use the ssh keys from 1Password
To apply dotfile changes just run rcup again
rcupThis dependency is needed for the ctrl-p search to work properly in vim. Properly as in: correctly ignoring node_modules when searching files