ExpHP / dotfiles

Personal dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ExpHP's dotfiles

Setup

Shell

Add this to ~/.bashrc:

#-----------------------------------------------------
# Make absolutely certain that history is preserved even if we mess up bashrc.
export HISTFILESIZE=

# Stuff specific to this machine
source /home/lampam/dotfiles/shell/machine/matisse.include

# Stuff specifically bash-related (e.g. PS1 prompt)
source /home/lampam/dotfiles/shell/bashrc.include

# Stuff for all shells  (environment vars, aliases...)
source /home/lampam/dotfiles/shell/common.include

Important: If this machine is accessed remotely, KEEP YOUR TERMINAL OPEN and IMMEDIATELY OPEN ANOTHER to verify that you can still log in through ssh.

The following is the entirety of my ~/.zshrc:

source /home/lampam/dotfiles/shell/zshrc.include
source /home/lampam/dotfiles/shell/common.include

My zsh used a custom theme:

sudo ln -s dotfiles/symlinks/agnoster-exphp.zsh-theme /usr/local/share/oh-my-zsh/themes

Some of the functionality in my shell dotfiles may depend on the rust binaries.

Vim

To set up ~/.vim/, see vim/README.md.

If you can't make it work, then please, please, PLEASE at the very least add this to .vimrc before continuing any further:

" Remove line limit for yanking between files by redefining viminfo without the '<' option
set viminfo='100,s10,h

Miscellaneous dotfiles

Some symlinks are created by ./do-misc-setup. This script will check that certain symlinks exist (or that the files in here are at least mentioned).

This script could probably do more but I keep forgetting that it exists.

Other things to install

Fuzzy finder on Ctrl+R

mkdir -p ~/.local/opt
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.local/opt/fzf
yes | ~/.local/opt/fzf/install --xdg

edit .bashrc  # move the fzf stuff to be BEFORE things from ~/dotfiles are sourced

Rust binaries

There are some rust binaries to build and install in dotfiles/rust-bin.

Gnu stow packages

Take a peek in dotfiles/stow and see if anything there is useful.

Notes

Most other things in this repo are probably documented in notes.md (along with lots of other info for setting up a new machine).

About

Personal dotfiles


Languages

Language:Emacs Lisp 37.0%Language:Shell 36.7%Language:Python 12.2%Language:Vim Script 11.6%Language:Rust 2.5%