Skip to content

Commit

Permalink
bash: .bashrc micro-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
damncabbage committed Aug 6, 2024
1 parent 6f7c9f2 commit 8f5be87
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,6 @@ HISTSIZE=5000
HISTFILESIZE=10000


# Misc preferences
export EDITOR=$(command -v nvim)
export LESS="R" # Have 'less' interpret/use colour codes
#export TERM=xterm-256color
if [ $IS_MAC ]; then
export GREP_OPTIONS="--color=auto"
fi
if [ $IS_MAC ]; then
export CLICOLOR=1
fi

# Check the window size after each command and, if necessary,
# Update the values of LINES and COLUMNS.
shopt -s checkwinsize
Expand Down Expand Up @@ -151,6 +140,8 @@ if [ -f "/opt/homebrew/bin/brew" ]; then
eval $(/opt/homebrew/bin/brew shellenv)
# Stop homebrew removing everything all the bloody time
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
# and this
export HOMEBREW_NO_AUTO_UPDATE=true
fi

# Alias 'thefuck' to something more pleasant.
Expand All @@ -172,3 +163,14 @@ export BASH_SILENCE_DEPRECATION_WARNING=1
. ~/bin/z.sh

#export PATH="$HOME/.platformio/penv/bin:$PATH"

# Misc preferences
export EDITOR=$(command -v nvim)
export LESS="R" # Have 'less' interpret/use colour codes
#export TERM=xterm-256color
if [ $IS_MAC ]; then
export GREP_OPTIONS="--color=auto"
fi
if [ $IS_MAC ]; then
export CLICOLOR=1
fi

0 comments on commit 8f5be87

Please sign in to comment.