summaryrefslogtreecommitdiffstats
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile19
1 files changed, 10 insertions, 9 deletions
diff --git a/.bash_profile b/.bash_profile
index 8dfcfc5..59bda85 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -6,17 +6,15 @@ elif [ -d /usr/local/Homebrew ]; then
eval "$(/usr/local/Homebrew/bin/brew shellenv)"
fi
-# defaultscheme "exfxcxdxbxegedabagacad"
export CLICOLOR=1
-# Mac OS custorm colors (not LS_COLORS as unix)
-export LSCOLORS=gxfxcxdxbxegedabagacad
-# Unix/Bash Readline custom colors
-export LS_COLORS="$LS_COLORS:di=00;36:ln=00;35:ex=00;31"
-
-export HISTSIZE=20000 # History size
+export LSCOLORS=gxfxcxdxbxegedabagacad # Mac OS custorm colors (not LS_COLORS as unix) defaultscheme "exfxcxdxbxegedabagacad"
+export LS_COLORS="$LS_COLORS:di=00;36:ln=00;35:ex=00;31" # Unix/Bash Readline custom colors
export IGNOREEOF=42 # Ignore Ctrl+D logout terminal session
-export HISTCONTROL=ignoredups:erasedups # remove consecutive history entries
-export EDITOR='vim' # Default editor
+export HISTSIZE=1000 # Num commands to remmember in a terminal session
+export HISTFILESIZE=10000 # Max number of linse in history file
+export HISTFILE="$HOME/.bash_history"
+export HISTCONTROL=ignoredups:erasedups
+export EDITOR='vim'
export TERM="xterm-256color"
export GREP_OPTIONS="--color=auto"
export PS1="[a14m] \W \$ "
@@ -30,6 +28,9 @@ export SSH_AUTH_SOCK
export BASH_SILENCE_DEPRECATION_WARNING=1 # Silence new macOS warning about bash
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
+# ==== Shell Opts
+shopt -s checkwinsize # check the window size after each command and, if necessary, update LINES/COLUMNS
+
# ==== Aliases
alias wttr='curl http://wttr.in/berlin'
alias la='ls -a'