aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/qutebrowser/config.py4
-rw-r--r--config/zsh/.zshrc14
-rwxr-xr-xconfig/zsh/zprofile4
3 files changed, 14 insertions, 8 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index 96ede9b..9d83a60 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -177,12 +177,12 @@ c.colors.contextmenu.disabled.fg = base04
c.colors.contextmenu.menu.bg = base00
# Foreground color of the context menu. If set to null, the Qt default is used.
-c.colors.contextmenu.menu.fg = base05
+c.colors.contextmenu.menu.fg = base05
# Background color of the context menu’s selected item. If set to null, the Qt default is used.
c.colors.contextmenu.selected.bg = base02
-#Foreground color of the context menu’s selected item. If set to null, the Qt default is used.
+# Foreground color of the context menu’s selected item. If set to null, the Qt default is used.
c.colors.contextmenu.selected.fg = base05
# Background color for the download bar.
diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc
index 9850b59..cc754a0 100644
--- a/config/zsh/.zshrc
+++ b/config/zsh/.zshrc
@@ -46,10 +46,16 @@ bindkey -v '^?' backward-delete-char
bindkey -v
export KEYTIMEOUT=1
-setopt auto_cd # cd without `cd` command
# setopt pushd_ignore_dups
-setopt list_rows_first # cycle through row first in menu
# setopt extendedglob
+setopt auto_cd # cd without `cd` command
+setopt list_rows_first # cycle through row first in menu
+setopt share_history # share history between shells
+setopt extended_history # command timestamp in history
+setopt hist_ignore_dups # ignore duplicate entry in history
+
+export HISTSIZE=10000
+export SAVEHIST=5000
# executed when changing directory
chpwd() {
@@ -66,8 +72,8 @@ fignore=(o hi) # ignore extensions in autocomplete
# shellcheck source=/dev/null
. "$XDG_DATA_HOME/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" # prompt syntax highlight
-export YSU_MESSAGE_POSITION="after" # you-should-use message after command output
-. "$XDG_DATA_HOME/zsh/zsh-you-should-use/you-should-use.plugin.zsh" # alias reminder
+export YSU_MESSAGE_POSITION="after" # you-should-use message after command output
+. "$XDG_DATA_HOME/zsh/zsh-you-should-use/you-should-use.plugin.zsh" # alias reminder
# set tab to 4 spaces
tabs 4
diff --git a/config/zsh/zprofile b/config/zsh/zprofile
index 18592e8..660327e 100755
--- a/config/zsh/zprofile
+++ b/config/zsh/zprofile
@@ -37,10 +37,10 @@ export CARGO_HOME="$XDG_DATA_HOME/cargo"
export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle
export JULIA_DEPOT_PATH="$XDG_DATA_HOME/julia:$JULIA_DEPOT_PATH"
# cache
-export HISTFILE="$XDG_CACHE_HOME/history"
+export HISTFILE="$XDG_CACHE_HOME/zsh/history"
export LESSHISTFILE='-' # no ~/.lesshst
export PYTHON_EGG_CACHE="$XDG_CACHE_HOME/python-eggs"
-export BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle
+export BUNDLE_USER_CACHE="$XDG_CACHE_HOME/bundle"
# runtime
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"