Skip to content

Dotfiles and other custom settings

Notifications You must be signed in to change notification settings

ThomasSmyth/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

This repo stores and manages the install of various dotfiles and settings files.

First time set up

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.

Add dotfiles

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

Optional flags

  • -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

Available Settings

The following are details of the available settings.

repos

Will clone the default repos listed in repos.csv unless -r flag is passed, in which case all will be cloned.

dotfiles

The following files will be softlinked to $HOME:

bashrc

Ensures that .bash_custom is sourced in .bashrc, and installs git-prompt.sh which is sourced by the custom bash file.

git

Adds global git user and email.

vim

Adds kdb syntax highlighting from patmok.

vundle

Adds Vundle a plugin manager for vim.

Current plugins:

scripts

Adds:

kdb

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.

tldr

Retrieves tldr from raylee which shows simplified man pages.

tmux_install

Will install tmux if it does not already exist on the host.

ssh_config

Add ssh config file that specifies keys to use with git repo hosting services.