Configuration for bash and readline (for use with vcsh)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
454 B

#!/bin/bash
#
# ~/.bashrc
#
# Thurstylark
#
# Reference: https://wiki.thurstylark.com/Bashrc.html
### BASH CONFIG ###
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# If a directory is given without any command, CD into it.
shopt -s autocd
# Enable extglob
shopt -s extglob
### OTHER CONFIG ###
# Source all *.bash files in ~/.bashrc.d/
# shellcheck source=/dev/null
for f in ~/.bashrc.d/*.bash; do source "$f"; done