1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-22 10:51:49 +08:00

Better zsh completion

This commit is contained in:
juan 2022-09-22 22:59:13 +08:00
parent 1908133afb
commit 2ed4ea6229
No known key found for this signature in database
GPG Key ID: 63A51E78F28ACE53
5 changed files with 5 additions and 6 deletions

View File

@ -28,4 +28,4 @@ allow_remote_control yes
map kitty_mod+n new_os_window_with_cwd map kitty_mod+n new_os_window_with_cwd
include themes/light.conf include themes/dark.conf

View File

@ -1,7 +1,7 @@
# vim: filetype=i3config # vim: filetype=i3config
# wallpaper # wallpaper
output * bg $(find ~/Pictures/Wallpapers/light -type f | shuf -n1) fill output * bg $(find ~/Pictures/Wallpapers/dark -type f | shuf -n1) fill
# laptop output mode # laptop output mode
set $laptop eDP-1 set $laptop eDP-1

View File

@ -1,3 +1,3 @@
# vim: filetype=i3config # vim: filetype=i3config
include ~/.config/sway/config.d/themes/light include ~/.config/sway/config.d/themes/dark

View File

@ -10,7 +10,7 @@
min-height: 0; min-height: 0;
} }
@import "light.less"; @import "dark.less";
window#waybar { window#waybar {
background: @background; background: @background;

3
.zshrc
View File

@ -1,4 +1,3 @@
cat ~/.config/splash 2> /dev/null || true cat ~/.config/splash 2> /dev/null || true
echo echo
echo '\033[0;35m /w '$(awk -F "=" '/^NAME/ {print $2}' 2> /dev/null < /etc/os-release || uname -o) echo '\033[0;35m /w '$(awk -F "=" '/^NAME/ {print $2}' 2> /dev/null < /etc/os-release || uname -o)
@ -53,7 +52,7 @@ zstyle ':completion:*' ignore-parents parent pwd ..
zstyle ':completion:*' insert-unambiguous true zstyle ':completion:*' insert-unambiguous true
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-prompt %S%F{green}At %p%f: Hit TAB for more, or the character to insert%s zstyle ':completion:*' list-prompt %S%F{green}At %p%f: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*'
zstyle ':completion:*' max-errors 16 numeric zstyle ':completion:*' max-errors 16 numeric
zstyle ':completion:*' menu select=1 zstyle ':completion:*' menu select=1
zstyle ':completion:*' original false zstyle ':completion:*' original false