Skip to content

Commit

Permalink
feat(bash): enable exglob for bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Deavon M. McCaffery committed Jul 2, 2017
1 parent 17d0a28 commit b778112
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
11 changes: 6 additions & 5 deletions src/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ export CLR_STAFF_PROMPT=$CLR_BRIGHT_GREEN # COLOR OF THE PROMPT FOR STAFF
export CLR_USER_PROMPT=$CLR_BRIGHT_BLUE # COLOR OF THE PROMPT FOR USERS
export CLR_SSH_PROMPT=$CLR_BRIGHT_MAGENTA # COLOR OF THE PROMPT FOR SSH

# shell options
shopt -s checkwinsize # check window size on script exit
shopt -s cdable_vars # enable change directory to a variable value
shopt -s extglob # enable extended glob patterns

# enable colors for various commands
export TERM=xterm-256color
export GREP_COLOR='1;32'
Expand Down Expand Up @@ -101,8 +106,4 @@ alias ..='cd ..'
alias ...='cd .. ; ..'

# -- sudo alias (allow other alias extensions to work when sudo-ing)
alias sudo='sudo '

# shell options
shopt -s checkwinsize # check window size on script exit
shopt -s cdable_vars # enable change directory to a variable value
alias sudo='sudo '
6 changes: 1 addition & 5 deletions src/scripts/dotnet-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@ dotnet-install() {
fi

if [ ${#DOTNET_CHANNELS[@]} -eq 0 ]; then
DOTNET_CHANNELS=('release/2.0.0')
fi

if [ ${#DOTNET_VERSIONS[@]} -eq 0 ]; then
DOTNET_VERSIONS=('1.0.0' '1.0.1')
DOTNET_CHANNELS=('release/1.0.0' 'release/2.0.0')
fi

if [[ "$DOTNET_RESET" == "1" ]]; then
Expand Down

0 comments on commit b778112

Please sign in to comment.