diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-06-22 17:48:46 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-06-22 17:48:46 +0200 |
commit | 5d75fe05d79e832cf0ab6bf710945d1d3a79da8c (patch) | |
tree | f7d61d37a2aaba8e131a3eb09734ed0e135c43ec | |
parent | 92af8b1dda5bb645cbbb55d6891bf25b1e67d6b6 (diff) | |
download | scripts-5d75fe05d79e832cf0ab6bf710945d1d3a79da8c.tar.gz scripts-5d75fe05d79e832cf0ab6bf710945d1d3a79da8c.tar.bz2 scripts-5d75fe05d79e832cf0ab6bf710945d1d3a79da8c.zip |
update
-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\]\$ " |