diff --git a/.zshrc b/.zshrc index 2aa6572..99e4508 100644 --- a/.zshrc +++ b/.zshrc @@ -39,7 +39,9 @@ setopt noauto_remove_slash setopt list_types setopt complete_in_word -ZSHCAHCEDIR=/tmp/$USER-zsh-cache +# disclaimer: I blatantly copied all of this without actually knowing what it does. ¯\_(ツ)_/¯ + +ZSHCACHEDIR=/tmp/$USER-zsh-cache zstyle ':completion:*' completer _expand _complete _correct _approximate zstyle ':completion:*' expand prefix suffix @@ -47,7 +49,7 @@ zstyle ':completion:*' list-suffixes true zstyle ':completion:*' matcher-list '' '+m:{a-z}={A-Z}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*' zstyle ':completion:*' preserve-prefix '//[^/]##/' zstyle ':completion:*' use-cache on -zstyle ':completion:*' cache-path $ZSHCAHCEDIR +zstyle ':completion:*' cache-path $ZSHCACHEDIR zstyle ':completion:*:*:kill:*' menu yes select zstyle ':completion:*:kill:*' force-list always zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' @@ -59,7 +61,7 @@ zstyle ':completion::prefix-1:*' completer _complete zstyle ':completion:incremental:*' completer _complete _correct zstyle ':completion:predict:*' completer _complete # Completion caching zstyle ':completion::complete:*' use-cache 1 -zstyle ':completion::complete:*' cache-path $ZSHCAHCEDIR/$HOST # Expand partial paths +zstyle ':completion::complete:*' cache-path $ZSHCACHEDIR/$HOST # Expand partial paths zstyle ':completion:*:functions' ignored-patterns '_*' zstyle ':completion:*' squeeze-slashes 'yes' # Include non-hidden directories in globbed file completions zstyle ':completion:*:complete:-command-::commands' ignored-patterns '*\~' # Separate matches into groups diff --git a/bin/autostart b/bin/autostart index 9c75bd5..94fd538 100755 --- a/bin/autostart +++ b/bin/autostart @@ -1,6 +1,5 @@ #!/bin/sh -# tilda rm -rf /home/kageru/temp/* fcitx syncthing & @@ -11,7 +10,7 @@ xrandr --fb 7680x2160 --output DVI-D-0 --pos 0x0 --output DP-0 --mode 1920x1080 ~/.fehbg ~/bin/restart_polybar mpd -#redshift +redshift & #pactl unload-module module-role-cork