Merge branch 'master' of ssh://git.lyte.dev:2222/lytedev/dotfiles
This commit is contained in:
commit
26fdcc8e58
|
@ -3,7 +3,7 @@ author: "Daniel Flanagan(https://lytedev.io)"
|
||||||
base00: "111111" # background, dark grey
|
base00: "111111" # background, dark grey
|
||||||
base01: "383830" # lighter grey
|
base01: "383830" # lighter grey
|
||||||
base02: "49483e" # lighter grey
|
base02: "49483e" # lighter grey
|
||||||
base03: "75715e" # greyish yellow (peuce)
|
base03: "75715e" # pale-ish yellow
|
||||||
base04: "a59f85" # lighter peuce
|
base04: "a59f85" # lighter peuce
|
||||||
base05: "f8f8f2" # foreground white
|
base05: "f8f8f2" # foreground white
|
||||||
base06: "f5f4f1" # foreground 2 white
|
base06: "f5f4f1" # foreground 2 white
|
||||||
|
|
|
@ -3,7 +3,7 @@ author: "Daniel Flanagan(https://lytedev.io)"
|
||||||
base00: "000000" # background, dark grey
|
base00: "000000" # background, dark grey
|
||||||
base01: "383830" # lighter grey
|
base01: "383830" # lighter grey
|
||||||
base02: "49483e" # lighter grey
|
base02: "49483e" # lighter grey
|
||||||
base03: "75715e" # greyish yellow (peuce)
|
base03: "75715e" # pale-ish yellow
|
||||||
base04: "a59f85" # lighter peuce
|
base04: "a59f85" # lighter peuce
|
||||||
base05: "f8f8f2" # foreground white
|
base05: "f8f8f2" # foreground white
|
||||||
base06: "f5f4f1" # foreground 2 white
|
base06: "f5f4f1" # foreground 2 white
|
||||||
|
|
|
@ -3,7 +3,7 @@ author: "Daniel Flanagan(https://lytedev.io)"
|
||||||
base00: "eeeeee" # background, light cream
|
base00: "eeeeee" # background, light cream
|
||||||
base01: "ddd6c3" # darker cream
|
base01: "ddd6c3" # darker cream
|
||||||
base02: "ada693" # darker cream
|
base02: "ada693" # darker cream
|
||||||
base03: "8d8673" # greyish yellow (peuce)
|
base03: "8d8673" # pale-ish yellow
|
||||||
base04: "554f45" # darker peuce
|
base04: "554f45" # darker peuce
|
||||||
base05: "111111" # foreground dark grey
|
base05: "111111" # foreground dark grey
|
||||||
base06: "555555" # foreground 2 dark grey
|
base06: "555555" # foreground 2 dark grey
|
||||||
|
|
|
@ -58,6 +58,9 @@ source "$DOTFILES_PATH/shell/bash/prompt"
|
||||||
# instead places them in the readline for editing
|
# instead places them in the readline for editing
|
||||||
shopt -s histverify
|
shopt -s histverify
|
||||||
|
|
||||||
|
# always _append_ to bash history
|
||||||
|
shopt -s histappend
|
||||||
|
|
||||||
# prevents some Java GUI apps from not working or rendering properly due to
|
# prevents some Java GUI apps from not working or rendering properly due to
|
||||||
# using wacky window managers
|
# using wacky window managers
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
@ -81,8 +84,18 @@ export TERMINAL="urxvtc"
|
||||||
|
|
||||||
export BROWSER="firefox-developer-edition"
|
export BROWSER="firefox-developer-edition"
|
||||||
|
|
||||||
# unlimited history
|
# "unlimited" history
|
||||||
export HISTSIZE=""
|
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
|
# load a per-device config last so anything can be overridden
|
||||||
if [ -a "$HOME/.env_bashrc" ]; then
|
if [ -a "$HOME/.env_bashrc" ]; then
|
||||||
|
|
|
@ -27,6 +27,8 @@ export -f "preprocess_pwd"
|
||||||
|
|
||||||
prompt_command_func()
|
prompt_command_func()
|
||||||
{
|
{
|
||||||
|
# commit history to prevent data loss from edge cases
|
||||||
|
history -a
|
||||||
RET=$?
|
RET=$?
|
||||||
# set the color of the user and host based on the result of the previous
|
# set the color of the user and host based on the result of the previous
|
||||||
# command
|
# command
|
||||||
|
|
Reference in a new issue