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 cc6d21b63c go back to powerline-go 2020-12-09 09:19:06 -05:00
.fonts update mono nerd fonts 2020-12-01 14:21:15 -05:00
bin remove windows script 2020-11-18 03:06:33 -05:00
.bash_profile remove extra cargo path 2020-07-15 12:57:41 -04:00
.bashrc go back to powerline-go 2020-12-09 09:19:06 -05:00
.gitconfig change default branch 2020-12-01 14:13:25 -05: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
.tmux.conf add tmux configuration 2020-11-18 03:37:27 -05:00
.vimrc map F8 to regenerate a password under the cursor using pwgen 2020-12-07 08:16:35 -05:00
LICENSE Initial commit 2018-07-17 09:27:05 -04:00
README.md switch to vim-plug so that submodules are not needed 2020-11-18 03:32:00 -05: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
which fc-cache 2>/dev/null && fc-cache -f -v ~/.fonts || true