diff options
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -0,0 +1,36 @@ +#!/usr/bin/env bash +# +# ____ _ +# | __ ) __ _ ___| |__ _ __ ___ +# | _ \ / _` / __| '_ \| '__/ __| +# | |_) | (_| \__ \ | | | | | (__ +# |____/ \__,_|___/_| |_|_| \___| +# + +# If not running interactively, leave +[[ $- != *i* ]] && return + +# load aliases and variables +source $HOME/.config/shell/vars +source $HOME/.config/shell/aliases + +# Bash Line Editor +source /usr/share/blesh/ble.sh + +# pywal +(cat $HOME/.cache/wal/sequences &) +source $HOME/.cache/wal/colors-tty.sh +source $HOME/.cache/wal/colors.sh + +# bash-completion +complete -cf doas + +# search history +bind '"\e[A": history-search-backward' +bind '"\e[B": history-search-forward' + +# cd without using cd +shopt -s autocd + +# prompt +export PS1="\[\e[30;102m\] \A $TERMINAL \[\e[92;103m\]\[\e[30m\] \u@\h \[\e[93;107m\]\[\e[30m\] \w \[\e[0;97m\]\n\[\e[0m\]\$ " |