This repo stores and manages the install of various dotfiles and settings files.
On a new environment initial set up is handled by the standalone file
init.sh
which can be retrieved directly from the master branch.
wget https://raw.githubusercontent.com/thomassmyth/dotfiles/master/init.sh
sh init.sh
First time running the script will create SSH keys for use with repo hosting services. After the keys are created further running the script will clone this repo, if it does not already exist.
The addition of dotfiles and other settings is handled by install.sh
which is available upon cloning this repo. This script must then be passed then
name of the settings to install, or all. it is recommended that users use the
-a
or --archive
flag on initial install to ensure previous dotfiles are
preserved.
sh install.sh -a all
The following options are available:
^ All repos can be installed using
-r
flag
* Not included in all
-a
or--archive
- archive existing dotfiles-h
or--hard-copy
- do not create symlinks to dot files-g
or--git-directory
- specify custom git directory-r
or--repo-full
- install all repositories
The following are details of the available settings.
Will clone the default repos listed in repos.csv
unless -r
flag
is passed, in which case all will be cloned.
The following files will be softlinked to $HOME
:
.bash_custom
- environment settings.custom/
- bash functions and aliases.vimrc
- vim settings.vim/ftplugin
- language specific plugins.gitconfig
- git aliases and settings.tmux.conf
- custom prefix and bindings
Ensures that .bash_custom
is sourced in
.bashrc
, and installs
git-prompt.sh
which is sourced by the custom bash file.
Adds global git user and email.
Adds kdb syntax highlighting from patmok.
Adds Vundle a plugin manager for vim.
Current plugins:
- tmux-vim-navigator - allows for alt+arrow key switching between vim and tmux.
Adds:
multigrep.sh
- simplified multiple word search for greptmux_session.sh
- basic tmux session template
Installs kdb+ if the user has sudo access and linuxx86.zip
from
kx. It is expected that this file is
placed in the users home directory.
Retrieves tldr from raylee which shows simplified man pages.
Will install tmux if it does not already exist on the host.
Add ssh config file that specifies keys to use with git repo hosting services.