-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbashrc.sh
More file actions
34 lines (28 loc) · 775 Bytes
/
bashrc.sh
File metadata and controls
34 lines (28 loc) · 775 Bytes
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
#
# __ __ ____ ____ _ _
# | \/ | / ___| / ___|| |_ _ __ ___ | |__
# | |\/| || | \___ \| __| '__/ _ \| '_ \
# | | | || |___ _ ___) | |_| | | (_) | | | |
# |_| |_(_)____(_) |____/ \__|_| \___/|_| |_|
#
# .bashrc file
# Last updated: 2022-03-16
#
#
export HISTFILESIZE=10000
export HISTSIZE=500
export HISTTIMEFORMAT="%F %T : "
# fzf
if command -v fzf >/dev/null 2>&1; then
eval "$(fzf --bash)"
fi
# zoxide
if command -v zoxide >/dev/null 2>&1; then
eval "$(zoxide init bash)"
fi
# Starship
if command -v starship >/dev/null 2>&1; then
eval "$(starship init bash)"
fi
# BASH completion on macOS via brew
[[ -r "$HOMEBREW_PREFIX/etc/profile.d/bash_completion.sh" ]] && . "$HOMEBREW_PREFIX/etc/profile.d/bash_completion.sh"