aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorjason2022-08-03 09:23:41 -0600
committerjason2022-08-03 09:23:41 -0600
commitff9fc30582ef5e5d6f146efb17db023ba122921d (patch)
treecf0d98c475f85725a4c9952da64015f46aa144ed /bash
parent8e957f3fe863ae5f93c9c280e07d5a4bc4fe69b9 (diff)
downloaddotfiles-ff9fc30582ef5e5d6f146efb17db023ba122921d.tar.gz
dotfiles-ff9fc30582ef5e5d6f146efb17db023ba122921d.zip
enable starship prompt
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index ffef555..12de64b 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -9,6 +9,12 @@ PATH="${HOME}/bin:${HOME}/.local/bin:${PATH}"
9# Disable bash deprecation warning on OS X 9# Disable bash deprecation warning on OS X
10export BASH_SILENCE_DEPRECATION_WARNING=1 10export BASH_SILENCE_DEPRECATION_WARNING=1
11 11
12# Enable starship if possible
13STARSHIP=`which starship`
14if [[ -x $STARSHIP ]]; then
15 eval "$(starship init bash)"
16fi
17
12# Enable bash-completions for homebrew installed bash 18# Enable bash-completions for homebrew installed bash
13if [ -f /opt/homebrew/etc/bash_completion ]; then 19if [ -f /opt/homebrew/etc/bash_completion ]; then
14 . /opt/homebrew/etc/bash_completion 20 . /opt/homebrew/etc/bash_completion