aboutsummaryrefslogtreecommitdiff
path: root/bashrc
blob: 76343a90b1320d889791a7cdae75c7ec33514006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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\]\$ "