Git Product home page Git Product logo

dotfiles's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.