diff options
| author | jason | 2022-08-03 09:23:41 -0600 |
|---|---|---|
| committer | jason | 2022-08-03 09:23:41 -0600 |
| commit | ff9fc30582ef5e5d6f146efb17db023ba122921d (patch) | |
| tree | cf0d98c475f85725a4c9952da64015f46aa144ed /bash | |
| parent | 8e957f3fe863ae5f93c9c280e07d5a4bc4fe69b9 (diff) | |
| download | dotfiles-ff9fc30582ef5e5d6f146efb17db023ba122921d.tar.gz dotfiles-ff9fc30582ef5e5d6f146efb17db023ba122921d.zip | |
enable starship prompt
Diffstat (limited to 'bash')
| -rw-r--r-- | bash/.bashrc | 6 |
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 |
| 10 | export BASH_SILENCE_DEPRECATION_WARNING=1 | 10 | export BASH_SILENCE_DEPRECATION_WARNING=1 |
| 11 | 11 | ||
| 12 | # Enable starship if possible | ||
| 13 | STARSHIP=`which starship` | ||
| 14 | if [[ -x $STARSHIP ]]; then | ||
| 15 | eval "$(starship init bash)" | ||
| 16 | fi | ||
| 17 | |||
| 12 | # Enable bash-completions for homebrew installed bash | 18 | # Enable bash-completions for homebrew installed bash |
| 13 | if [ -f /opt/homebrew/etc/bash_completion ]; then | 19 | if [ -f /opt/homebrew/etc/bash_completion ]; then |
| 14 | . /opt/homebrew/etc/bash_completion | 20 | . /opt/homebrew/etc/bash_completion |