perobertson / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paul Robertson Dot Files

These are config files to set up a system the way I like it.

Installation

git clone https://gitlab.com/perobertson/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./install.py

Environment

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)"

Features

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.

Optional Features

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:

  1. ~/bin
  2. $PYENV_ROOT/bin
  3. $PKENV_ROOT/bin
  4. $TFENV_ROOT/bin
  5. $RBENV_ROOT/bin
  6. ~/.local/bin
  7. system

About

License:MIT License


Languages

Language:Shell 70.6%Language:Python 19.3%Language:Vim Script 6.9%Language:Jinja 3.2%Language:Makefile 0.1%