-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
42 lines (31 loc) · 1.02 KB
/
.bashrc
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
37
38
39
40
41
42
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
if [[ -e "$HOME"/.config/bash/aliases ]]; then
source "$HOME"/.config/bash/aliases
fi
if [[ -e "/usr/share/bash-complete-alias/complete_alias" ]]; then
# shellcheck source=/usr/share/bash-complete-alias/complete_alias
source "/usr/share/bash-complete-alias/complete_alias"
fi
complete -F _complete_alias "${!BASH_ALIASES[@]}"
if [[ -e "$HOME"/.config/bash/functions ]]; then
source "$HOME"/.config/bash/functions
fi
# Import colorscheme from 'wal' asynchronously
# & # Run the process in the background.
# ( ) # Hide shell job control messages.
# Not suppoerted in the "fish" shell.
(cat ~/.cache/wal/sequences &)
# To add support for TTYs this line can be optionally added.
# shellcheck source=.cache/wal/colors-tty.sh
source ~/.cache/wal/colors-tty.sh
if [ -f "$HOME"/.config/lf/lf.sh ]; then
source "$HOME"/.config/lf/lf.sh
fi
# Shopt
shopt -s checkwinsize
PS1='[\u@\h \W]\$ '
eval "$(zoxide init --cmd cd bash)"