|
|
|
@ -1,9 +1,16 @@ |
|
|
|
# Common commands for .bashrc. Include by adding the following to .bashrc: |
|
|
|
# Common commands for .bashrc. Include by adding the following to .bashrc: |
|
|
|
# |
|
|
|
# |
|
|
|
|
|
|
|
# # Include cross-system common parts from .dotfiles.git repo |
|
|
|
# if [ -f ~/.bashrc.dotfiles ]; then |
|
|
|
# if [ -f ~/.bashrc.dotfiles ]; then |
|
|
|
# . ~/.bashrc.dotfiles |
|
|
|
# . ~/.bashrc.dotfiles |
|
|
|
# fi |
|
|
|
# fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# If not running interactively, don't do anything |
|
|
|
|
|
|
|
case $- in |
|
|
|
|
|
|
|
*i*) ;; |
|
|
|
|
|
|
|
*) return;; |
|
|
|
|
|
|
|
esac |
|
|
|
|
|
|
|
|
|
|
|
# dotfiles alias |
|
|
|
# dotfiles alias |
|
|
|
alias dotfiles='git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME/' |
|
|
|
alias dotfiles='git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME/' |
|
|
|
|
|
|
|
|
|
|
|
|