diff --git a/.bashrc b/.bashrc index 698c1fb..7a18101 100644 --- a/.bashrc +++ b/.bashrc @@ -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 @@ -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 diff --git a/.binary_check b/.binary_check index a3ffba5..9e85131 100644 --- a/.binary_check +++ b/.binary_check @@ -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)" diff --git a/.expected_binaries b/.expected_binaries index 7817cb3..b51e8e2 100644 --- a/.expected_binaries +++ b/.expected_binaries @@ -3,5 +3,6 @@ eza fzf jq nvim +starship tmux zoxide