From 6b5907e6ea7190571784def234bf256c6850bb21 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Fri, 20 Jul 2018 11:24:54 -0400 Subject: [PATCH] update instructions and aliases --- .bash_aliases | 2 +- .bashrc | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index ce2b031..2b4429a 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -1 +1 @@ -alias dotfiles='git --git-dir=$HOME/dotfiles --work-tree=$HOME' +alias dotfiles='git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME' diff --git a/.bashrc b/.bashrc index 02070d5..35065fb 100644 --- a/.bashrc +++ b/.bashrc @@ -29,7 +29,7 @@ for k in $HOME/bin/*.bash ; do . $k ; done function _update_ps1() { PS1="$(powerline-shell $?)" } -if [[ $(which powerline-shell) && "$TERM" != "linux" && -z $TMUX ]]; then +if [[ $(which powerline-shell 2>/dev/null) && "$TERM" != "linux" && -z $TMUX ]]; then PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" else PS1='[\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w$(__git_ps1 " (%s)")\[\033[00m\]]\$ ' diff --git a/README.md b/README.md index c7fbd36..594b429 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ git clone --bare git@github.com:penguincoder/dotfiles.git function config { - /usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME $@ + /usr/bin/git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME $@ } mkdir -p .config-backup config checkout