update instructions and aliases
This commit is contained in:
parent
ffb6ff67bb
commit
6b5907e6ea
3 changed files with 3 additions and 3 deletions
|
@ -1 +1 @@
|
|||
alias dotfiles='git --git-dir=$HOME/dotfiles --work-tree=$HOME'
|
||||
alias dotfiles='git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME'
|
||||
|
|
2
.bashrc
2
.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\]]\$ '
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue