My dotfiles; configurations and the like.
./install
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
If ipython
is installed,
ipython_config.py
will be linked into the default profile.
It contains configuration such as autoreload
and library imports.
Use the gogh.sh
script inside Gogh to install any of a wide range of themes.
Current favourite is Gruvbox Dark. Works very nicely with the Vim one.
You are going to miss a lot of things Linux Mint provided.
Is it worth the snobbism? Uncertain.
Install the following through apt-get
:
- i3
- i3status (status bar)
- suckless-tools (dmenu, that's the launcher thingie)
- i3lock (lockscreen)
- scrot (seems to be necessary for i3lock, screen cap utility)
- dunst (notification utility)
Since i3 only supports a single config file, a Makefile governs the combining of machine-specific config files based on their hostname. This is included in the install procedure.
Fonts are separate for now.
Install using ./install -c fonts.conf.yaml
Available:
- Source Code Pro (for powerline)
- Consolas (for powerline)
There are a couple of local files that will be loaded for changes that shouldn't be brought with me to other systems.
~/.zshrc_local_before
~/.zshrc_local_after
TODO: Find a good solution for secrets that I carry with me. Currently they're lumped in with local. An option is to have a separate, private dotfiles repo.
vim
: best compiled from scratch, seecheat vim
Since most everything is tracked as a git submodule, it can get tricky to update submodules consistently. Or even at all. Make sure your git version is new enough, preferably 2.x I think. A lot changed in 1.8.
git submodule add -b master [URL]
will make sure that git always tracks master.
Update every submodule to the latest commit in the tracked branch:
git submodule update --recursive --remote --init
The --init
is required when a new submodule is added.
It doesn't seem to hurt,
but it may be necessary to split in two commands:
git submodule update --recursive --init git submodule update --recursive --remote
Some submodules have submodules themselves.
A recursive update will update those too,
I believe past what the submodule wants its submodule to be.
I still need to figure out a way for that not to happen.
Right now, I ignore those extra changes
by adding ignore = dirty
in the offending
entries in the .gitmodules
file.
To remove a submodule (I think traces are still kept in history),
use git-extras' git delete-submodule
.
If for some reason you can't use that, check out
https://stackoverflow.com/questions/1260748/how-do-i-remove-a-submodule/21211232#21211232
All g.