diff --git a/scripts/colors/generator/schemes/donokai.yml b/scripts/colors/generator/schemes/donokai.yml index 26de2ec..b88099d 100644 --- a/scripts/colors/generator/schemes/donokai.yml +++ b/scripts/colors/generator/schemes/donokai.yml @@ -3,7 +3,7 @@ author: "Daniel Flanagan(https://lytedev.io)" base00: "111111" # background, dark grey base01: "383830" # lighter grey base02: "49483e" # lighter grey -base03: "75715e" # greyish yellow (peuce) +base03: "75715e" # pale-ish yellow base04: "a59f85" # lighter peuce base05: "f8f8f2" # foreground white base06: "f5f4f1" # foreground 2 white diff --git a/scripts/colors/generator/schemes/donokaiblack.yml b/scripts/colors/generator/schemes/donokaiblack.yml index cc56bb2..8a16901 100644 --- a/scripts/colors/generator/schemes/donokaiblack.yml +++ b/scripts/colors/generator/schemes/donokaiblack.yml @@ -3,7 +3,7 @@ author: "Daniel Flanagan(https://lytedev.io)" base00: "000000" # background, dark grey base01: "383830" # lighter grey base02: "49483e" # lighter grey -base03: "75715e" # greyish yellow (peuce) +base03: "75715e" # pale-ish yellow base04: "a59f85" # lighter peuce base05: "f8f8f2" # foreground white base06: "f5f4f1" # foreground 2 white diff --git a/scripts/colors/generator/schemes/holodized.yml b/scripts/colors/generator/schemes/holodized.yml index 8d1ffa3..dc8fc1e 100644 --- a/scripts/colors/generator/schemes/holodized.yml +++ b/scripts/colors/generator/schemes/holodized.yml @@ -3,7 +3,7 @@ author: "Daniel Flanagan(https://lytedev.io)" base00: "eeeeee" # background, light cream base01: "ddd6c3" # darker cream base02: "ada693" # darker cream -base03: "8d8673" # greyish yellow (peuce) +base03: "8d8673" # pale-ish yellow base04: "554f45" # darker peuce base05: "111111" # foreground dark grey base06: "555555" # foreground 2 dark grey diff --git a/shell/bash/bashrc b/shell/bash/bashrc index 3189dd2..7b9717e 100644 --- a/shell/bash/bashrc +++ b/shell/bash/bashrc @@ -58,6 +58,9 @@ source "$DOTFILES_PATH/shell/bash/prompt" # instead places them in the readline for editing shopt -s histverify +# always _append_ to bash history +shopt -s histappend + # prevents some Java GUI apps from not working or rendering properly due to # using wacky window managers export _JAVA_AWT_WM_NONREPARENTING=1 @@ -81,8 +84,18 @@ export TERMINAL="urxvtc" export BROWSER="firefox-developer-edition" -# unlimited history -export HISTSIZE="" +# "unlimited" history +export HISTFILESIZE="10000000" +export HISTSIZE="10000000" + +# ignore duplicates and commands starting with space (" ") +export HISTCONTROL=ignoreboth + +# ignore certain commands +HISTIGNORE='ls:ll:la' + +# ensure command history is comprised of single lines +shopt -s cmdhist # load a per-device config last so anything can be overridden if [ -a "$HOME/.env_bashrc" ]; then diff --git a/shell/bash/prompt b/shell/bash/prompt index af44860..6123afe 100644 --- a/shell/bash/prompt +++ b/shell/bash/prompt @@ -27,6 +27,8 @@ export -f "preprocess_pwd" prompt_command_func() { + # commit history to prevent data loss from edge cases + history -a RET=$? # set the color of the user and host based on the result of the previous # command