diff --git a/config.yaml b/config.yaml index 0637b5c..e560b80 100644 --- a/config.yaml +++ b/config.yaml @@ -10,6 +10,9 @@ config: create: true dotpath: dotfiles dotfiles: + f_bashrc: + src: bash/bashrc + dst: ~/.bashrc f_zshrc: src: zsh/zshrc dst: ~/.zshrc @@ -82,6 +85,9 @@ profiles: - wallpaper # Packages to be used above + bash: + dotfiles: + - f_bashrc zsh: dotfiles: - f_zshrc diff --git a/dotfiles/bash/bashrc b/dotfiles/bash/bashrc new file mode 100755 index 0000000..6199a46 --- /dev/null +++ b/dotfiles/bash/bashrc @@ -0,0 +1,24 @@ +# Set vim as default +export VISUAL=vim +export EDITOR="$VISUAL" + +# Dotdrop +alias dotdrop="~/dotfiles/dotdrop.sh --cfg=~/dotfiles/config.yaml" + +# PS1 +HOST="\[\033[0;93m\]\h\[\033[m\]" +GIT="\[\033[1;91m\](\$(git_branch))\[\033[m\]" +ICON="\[\033[1;92m\]➜\[\033[m\]" +DIR="\[\033[1;94m\]\w\[\033[m\]" +export PS1="${HOST} ${ICON} ${DIR} " + +# Quality of Life +alias ..="cd .." +alias ll="ls -l" +alias la="ls -la" +alias rm="rm -i" + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi