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 1fba28c6b7 useful wsl toast script 2019-08-06 13:04:46 -04:00
.fonts add plexnerdfont to dotfiles 2018-08-10 08:31:22 -04:00
.vim update plugins 2019-07-24 11:59:54 -04:00
bin useful wsl toast script 2019-08-06 13:04:46 -04:00
.bash_aliases fixup aliases 2019-01-22 09:14:26 -05:00
.bash_profile my dotfiles 2018-07-17 09:48:02 -04:00
.bashrc tmux can handle powerline again 2019-01-18 11:35:20 -05:00
.gitconfig add configuration for `git mergetool` and update lightline config 2019-07-24 12:00:22 -04:00
.gitignore add plexnerdfont to dotfiles 2018-08-10 08:31:22 -04:00
.gitmodules add vim-gitbranch plugin 2019-07-24 11:59:43 -04:00
.kerlrc default kerl configuration 2018-08-01 06:28:38 -04:00
.minttyrc increase font size 2019-06-26 10:27:58 -04:00
.vimrc add configuration for `git mergetool` and update lightline config 2019-07-24 12:00:22 -04:00
LICENSE Initial commit 2018-07-17 09:27:05 -04:00
README.md update README 2019-07-09 17:01:07 -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/
git clone --bare ssh://git@git.penguincoder.org:2222/penguincoder/dotfiles.git
function config {
  /usr/bin/git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME $@
}
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then
  echo "Checked out config.";
  else
    echo "Backing up pre-existing dot files.";
    config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .config-backup/{}
fi;
config checkout
config config status.showUntrackedFiles no
config push --set-upstream origin master
config submodule init
config submodule update
which fc-cache 2>/dev/null && fc-cache -f -v ~/.fonts || true