# Include color helpers
export PATH="$PATH:/srv/techlit-void/bin"

_right() { echo "\[$(tput sc; printf "%*s" $COLUMNS ""; tput rc)\]"; }
_bg="\[$(tput setab 2)$(tput setaf 0)\]"
_fga="░▒▓\[$(tput rev)\]"
_fgz="\[$x$(tput setaf 2)\]░▒▓\[$x\]$_bg"
techlit_prompt() { PS1="$_bg$(_right)$_fga \u@\h:\w $_fgz\[$x\]\n$_bg$_fga\[$x\] $ "; }
export PROMPT_COMMAND="techlit_prompt"

PS2="\[$x\]$_bg$_fga > \[$x\]";

export PAGER=less
export EDITOR=vim

export HTOPRC="$HOME/.htoprc"

alias l='ls -h --color=always'
alias ll='ls -al'
alias sl='ls -h --color=always'

alias grep='grep --color=always'

alias gs='git status'
alias gl='git log'
alias gd='git diff'
alias gb='git branch -a'
alias gba='gb'
alias gco='git checkout '
alias gcb='git checkout -b '
alias gr='git remote'
