mirror of https://github.com/fredrikekre/.dotfiles
1 changed files with 5 additions and 2 deletions
@ -1,9 +1,12 @@ |
|||||||
# Common commands for .bashrc. Include by adding the following to .bashrc: |
# Common commands for .bashrc. Include by adding the following to .bashrc: |
||||||
# |
# |
||||||
# if [ -f ~/.bashrc.dotfiles.git ]; then |
# if [ -f ~/.bashrc.dotfiles ]; then |
||||||
# . ~/.bashrc.dotfiles.git |
# . ~/.bashrc.dotfiles |
||||||
# fi |
# fi |
||||||
|
|
||||||
|
# dotfiles alias |
||||||
|
alias dotfiles='git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME/' |
||||||
|
|
||||||
# Common bash prompt |
# Common bash prompt |
||||||
export PS1="[\[\e[32m\e[1m\]\u@\h\[\e[0m\]:\[\e[34m\e[1m\]\w\[\e[0m\]]\$ " |
export PS1="[\[\e[32m\e[1m\]\u@\h\[\e[0m\]:\[\e[34m\e[1m\]\w\[\e[0m\]]\$ " |
||||||
|
|
||||||
Loading…
Reference in new issue