Skip to content

Instantly share code, notes, and snippets.

@Demwunz
Created December 14, 2019 21:35
Show Gist options
  • Save Demwunz/54cf35e40f98bb56007ebd5ae1ad99c7 to your computer and use it in GitHub Desktop.
Save Demwunz/54cf35e40f98bb56007ebd5ae1ad99c7 to your computer and use it in GitHub Desktop.
Bash settings
# source the bashrc file ###########################################################
[ -r ~/.bashrc ] && . ~/.bashrc
# https://asdf-vm.com/ | brew install asdf ##########################################
. /usr/local/opt/asdf/asdf.sh
. /usr/local/opt/asdf/etc/bash_completion.d/asdf.bash
#####################################################################################
export PATH="/usr/local/sbin:$PATH"
# https://github.com/nvbn/thefuck | brew install thefuck ############################
eval "$(thefuck --alias)"
# https://starship.rs/ | brew install starship ######################################
eval "$(starship init bash)"
# fzf | brew install fzf ###########################################################
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
# $(brew --prefix)/opt/fzf/install
# bash completion | brew install bash-completion@2##################################
export BASH_COMPLETION_COMPAT_DIR="/usr/local/etc/bash_completion.d"
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment