Skip to content

Instantly share code, notes, and snippets.

@altwitt
Last active December 1, 2019 02:47
Show Gist options
  • Save altwitt/4e3ebc4ba993f920bd532439cda67bbb to your computer and use it in GitHub Desktop.
Save altwitt/4e3ebc4ba993f920bd532439cda67bbb to your computer and use it in GitHub Desktop.
#!/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