From 7d530f98ac7748b4011ac107f55c48fea36567a0 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Thu, 12 Dec 2019 15:17:01 +0100 Subject: [PATCH] Add dotfiles alias. --- .bashrc.dotfiles.git => .bashrc.dotfiles | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename .bashrc.dotfiles.git => .bashrc.dotfiles (62%) diff --git a/.bashrc.dotfiles.git b/.bashrc.dotfiles similarity index 62% rename from .bashrc.dotfiles.git rename to .bashrc.dotfiles index 8922aea..2fe2ff7 100644 --- a/.bashrc.dotfiles.git +++ b/.bashrc.dotfiles @@ -1,9 +1,12 @@ # Common commands for .bashrc. Include by adding the following to .bashrc: # -# if [ -f ~/.bashrc.dotfiles.git ]; then -# . ~/.bashrc.dotfiles.git +# if [ -f ~/.bashrc.dotfiles ]; then +# . ~/.bashrc.dotfiles # fi +# dotfiles alias +alias dotfiles='git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME/' + # Common bash prompt export PS1="[\[\e[32m\e[1m\]\u@\h\[\e[0m\]:\[\e[34m\e[1m\]\w\[\e[0m\]]\$ "