Skip to content

Commit

Permalink
add starship
Browse files Browse the repository at this point in the history
  • Loading branch information
C0nsultant committed Sep 15, 2024
1 parent 40916ea commit fbdd4d6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,11 @@ if [ -d /home/linuxbrew/.linuxbrew ] || [ -d /opt/homebrew ] || [ -d /usr/local
fi

# manual completions
if [ -d /usr/share/bash-completion/completions ]; then
for COMPLETION in /usr/share/bash-completion/completions/*; do
if [[ -r "${COMPLETION}" ]]; then
source "${COMPLETION}"
fi
done
fi
for COMPLETION in /usr/share/bash-completion/completions/*; do
if [[ -r "${COMPLETION}" ]]; then
source "${COMPLETION}"
fi
done

if [ -f ~/.binary_check ]; then
source ~/.binary_check
Expand All @@ -114,6 +112,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
fi

export PATH="$HOME/.local/bin:$PATH"
export VISUAL=vim
export EDITOR=vim
export GPG_TTY=$(tty)
if [[ $- == *i* ]]; then
Expand Down
5 changes: 4 additions & 1 deletion .binary_check
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ if [[ ${#missing_binaries[@]} -ne 0 ]]; then
fi

if command -v fzf >/dev/null 2>&1; then
eval "$(fzf --bash)"
FZF_ALT_C_COMMAND= eval "$(fzf --bash)"
fi
if command -v starship >/dev/null 2>&1; then
eval "$(starship init bash)"
fi
if command -v zoxide >/dev/null 2>&1; then
eval "$(zoxide init bash)"
Expand Down
1 change: 1 addition & 0 deletions .expected_binaries
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ eza
fzf
jq
nvim
starship
tmux
zoxide

0 comments on commit fbdd4d6

Please sign in to comment.