These are config files to set up a system the way I like it.
git clone https://gitlab.com/perobertson/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./install.py
I primarily use Linux with zsh
as my shell.
To switch to zsh, you can do so with the following command.
chsh -s "$(command -v zsh)"
I normally place all of my coding projects in ~/workspace
.
This directory can easily be accessed (and tab completed) with the c
command.
This can be configured by exporting CODE_PATH
from the ~/.localrc
file.
c re<tab>
There is also an "h" command which behaves similar, but acts on the home path.
h doc<tab>
You can see the other functions that are defined in ~/.zsh/functions/
.
The aliases can be found in ~/.zsh/lib/20_aliases.zsh
.
If there are some shell configuration settings which you want specific to
one system, place it into a ~/.localrc
file. This will be loaded automatically
if it exists.
These dotfiles are meant to work with what is available on the system and will be improved by having additional programs installed.
- bat
- exa
- starship
PATH is also setup to prefer some binaries over others. Preference is in this order:
- ~/bin
- $PYENV_ROOT/bin
- $PKENV_ROOT/bin
- $TFENV_ROOT/bin
- $RBENV_ROOT/bin
- ~/.local/bin
- system