From 5d75fe05d79e832cf0ab6bf710945d1d3a79da8c Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Sun, 22 Jun 2025 17:48:46 +0200 Subject: update --- bashrc | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bashrc diff --git a/bashrc b/bashrc new file mode 100644 index 0000000..76343a9 --- /dev/null +++ b/bashrc @@ -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\]\$ " -- cgit v1.2.3