config/zsh: update basic config
This commit is contained in:
parent
ebf05c0064
commit
891663aea0
|
@ -1482,7 +1482,7 @@
|
||||||
# Current time color.
|
# Current time color.
|
||||||
typeset -g POWERLEVEL9K_TIME_FOREGROUND=66
|
typeset -g POWERLEVEL9K_TIME_FOREGROUND=66
|
||||||
# Format for the current time: 09:51:02. See `man 3 strftime`.
|
# Format for the current time: 09:51:02. See `man 3 strftime`.
|
||||||
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}'
|
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%a %d %H:%M:%S}'
|
||||||
# If set to true, time will update when you hit enter. This way prompts for the past
|
# If set to true, time will update when you hit enter. This way prompts for the past
|
||||||
# commands will contain the start times of their commands as opposed to the default
|
# commands will contain the start times of their commands as opposed to the default
|
||||||
# behavior where they contain the end times of their preceding commands.
|
# behavior where they contain the end times of their preceding commands.
|
||||||
|
|
|
@ -144,11 +144,20 @@ export KEYTIMEOUT=1
|
||||||
|
|
||||||
# turn on spelling correction
|
# turn on spelling correction
|
||||||
setopt correct
|
setopt correct
|
||||||
# don't save duplicates in command history
|
# command history - https://unix.stackexchange.com/a/273863
|
||||||
setopt histignoredups
|
HISTSIZE=100000
|
||||||
|
SAVEHIST=$HISTSIZE
|
||||||
|
setopt inc_append_history
|
||||||
|
setopt share_history
|
||||||
|
setopt hist_expire_dups_first
|
||||||
|
setopt hist_ignore_dups
|
||||||
|
setopt hist_find_no_dups
|
||||||
|
setopt hist_save_no_dups
|
||||||
|
setopt hist_reduce_blanks
|
||||||
|
unsetopt hist_ignore_space
|
||||||
|
|
||||||
setopt EXTENDED_GLOB
|
setopt extended_glob
|
||||||
unsetopt CASE_GLOB
|
unsetopt case_glob
|
||||||
|
|
||||||
setopt pipefail
|
setopt pipefail
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ export JOURNAL="$(eval "dirname $(grep -1 journals $XDG_CONFIG_HOME/jrnl/jrnl.ya
|
||||||
echo "$DATA/2-standards/box/journal")"
|
echo "$DATA/2-standards/box/journal")"
|
||||||
export PATH="$HOME/.local/bin/scripts:$HOME/.local/bin:$PATH:$XDG_CONFIG_HOME/emacs/bin"
|
export PATH="$HOME/.local/bin/scripts:$HOME/.local/bin:$PATH:$XDG_CONFIG_HOME/emacs/bin"
|
||||||
# adjust programs to use xdg
|
# adjust programs to use xdg
|
||||||
export MNT="$XDG_RUNTIME_DIR"/mnt
|
export MNT=/run/media/$USER
|
||||||
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||||
|
|
||||||
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||||
|
@ -21,6 +21,7 @@ export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
|
||||||
|
|
||||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||||
export KDEHOME="$XDG_STATE_HOME"/kdehome
|
export KDEHOME="$XDG_STATE_HOME"/kdehome
|
||||||
|
export DOOMLOCALDIR="$XDG_STATE_HOME"/emacs
|
||||||
|
|
||||||
export WINEPREFIX="$XDG_DATA_HOME"/wine
|
export WINEPREFIX="$XDG_DATA_HOME"/wine
|
||||||
export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap
|
export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap
|
||||||
|
|
Loading…
Reference in New Issue