Last active
December 1, 2019 02:47
-
-
Save altwitt/4e3ebc4ba993f920bd532439cda67bbb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
########################################### | |
## MYBASHPROFILE 05.07.2019 | |
########################################### | |
#######################################4 | |
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
########################################### | |
## VARIABLES | |
########################################### | |
export PATH=/Users/altwitt/bin:/Users/altwitt/.config:$PATH | |
export CONFIG_PATH='/Users/altwitt/.config/' | |
########################################### | |
## MAIN ALIAS | |
########################################### | |
alias vb='vi /Users/altwitt/.bash_profile' | |
alias vb2='vi /Users/altwitt.bashrc' | |
alias sb='source /Users/altwitt/.bash_profile' | |
alias vv='vi /Users/altwitt/.vimrc' | |
alias va='vi /Users/altwitt/.config/.alias' | |
# Case-insensitive globbing (used in pathname expansion) | |
shopt -s nocaseglob; | |
# Correct spelling errors in arguments supplied to cd | |
shopt -s cdspell; | |
# Autocorrect on directory names to match a glob. | |
shopt -s dirspell 2> /dev/null | |
# Turn on recursive globbing (enables ** to recurse all directories) | |
shopt -s globstar 2> /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment