My shell configuration.
This repository has been archived on 2021-04-14. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
Go to file
Andrew Coleman 347492fcbf revert lua conversion 2021-03-31 10:10:26 -04:00
.config/nvim revert lua conversion 2021-03-31 10:10:26 -04:00
.fonts update mono nerd fonts 2020-12-01 14:21:15 -05:00
.local/bin rename script to XDG compatible directory 2020-12-21 11:10:16 -05:00
.vim/autoload add vim-plug 2020-12-09 09:19:38 -05:00
.Xmodmap remap caps lock to control in X 2020-12-12 15:50:38 -05:00
.bash_profile remove extra cargo path 2020-07-15 12:57:41 -04:00
.bashrc add Darwin check 2021-03-30 13:58:01 -04:00
.gitconfig add git gone helper 2021-03-29 08:43:43 -04:00
.gitignore add plexnerdfont to dotfiles 2018-08-10 08:31:22 -04:00
.gitmodules switch to vim-plug for easier management 2020-12-01 14:22:19 -05:00
.minimal.vimrc add a minimal vimrc designed primarily for reading many files 2020-12-27 17:15:31 -05:00
.tmux.conf update tmux configuration 2020-12-28 10:54:14 -05:00
.vimrc add some vim options 2021-03-25 10:49:52 -04:00
LICENSE Initial commit 2018-07-17 09:27:05 -04:00
README.md update docs to use the same alias name as the environment and do not hard-code path to git 2021-03-24 11:04:01 -04:00

README.md

dotfiles

These are my dotfiles, useful for my own shell configuration and not much else. Installation is easy, just paste this into your terminal.

#!/bin/sh
# Initialization script sourced from Atlassian:
#   https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/
mkdir -p $HOME/dev
git clone --bare ssh://git@git.penguincoder.org:2222/penguincoder/dotfiles.git dev/dotfiles.git
function dotfiles {
  git --git-dir=$HOME/dev/dotfiles.git/ --work-tree=$HOME $@
}
dotfiles checkout
if [ $? = 0 ]; then
  mkdir -p .config-backup
  echo "Checked out config.";
  else
    echo "Backing up pre-existing dot files.";
    dotfiles checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .config-backup/{}
fi;
dotfiles checkout
dotfiles config status.showUntrackedFiles no
dotfiles push --set-upstream origin master