Browse Source

Add dotfiles alias.

master
Fredrik Ekre 6 years ago
parent
commit
7d530f98ac
  1. 7
      .bashrc.dotfiles

7
.bashrc.dotfiles.git → .bashrc.dotfiles

@ -1,9 +1,12 @@ @@ -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\]]\$ "
Loading…
Cancel
Save