zsh: use autosuggestions
This commit is contained in:
parent
118ebc2585
commit
b5dae6eb3f
2 changed files with 42 additions and 6 deletions
39
README.md
39
README.md
|
@ -7,3 +7,42 @@ You can use these dotfiles ad-hoc under nixos using:
|
|||
```bash
|
||||
nix run nixpkgs#home-manager -- switch --impure --flake .
|
||||
```
|
||||
|
||||
## Self build dependencies
|
||||
|
||||
- dwm
|
||||
- st
|
||||
- slstatus
|
||||
|
||||
## Dependencies
|
||||
|
||||
- aur/zsh-manydots-magic
|
||||
- aur/breeze-red-cursor-theme
|
||||
- aur/hyprland-git
|
||||
- aur/hyprsome-git
|
||||
- aur/mimi-git
|
||||
- aur/picom-animations-git
|
||||
- aur/shellgpt-git
|
||||
- aur/vifmimg-git
|
||||
- aur/waybar-hyprland-git 0.9.17.r159.ga9a22234-1
|
||||
- aur/xdg-desktop-portal-hyprland-git 1:r272.04f5793-1
|
||||
- dunst
|
||||
- feh
|
||||
- ffmpeg-python
|
||||
- ffmpegthumbnailer
|
||||
- gallery-dl
|
||||
- i3lock
|
||||
- jq
|
||||
- mpv
|
||||
- nvim
|
||||
- python-eyed3
|
||||
- python-pynvim
|
||||
- qutebrowser
|
||||
- sxiv
|
||||
- ueberzug
|
||||
- unclutter
|
||||
- vifm
|
||||
- youtube-dl
|
||||
- zathura
|
||||
- zsh-completions
|
||||
- zsh-syntax-highlighting
|
||||
|
|
9
_zshrc
9
_zshrc
|
@ -1,25 +1,21 @@
|
|||
#!/bin/zsh
|
||||
|
||||
# The following lines were added by compinstall
|
||||
zstyle ':completion:*' completer _expand _complete _ignored
|
||||
zstyle ':completion:*' list-colors ''
|
||||
zstyle ':completion:*' menu select=0
|
||||
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
||||
zstyle :compinstall filename '/home/osh/.zshrc'
|
||||
|
||||
autoload -Uz compinit
|
||||
autoload -Uz compinit manydots-magic
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
manydots-magic
|
||||
|
||||
# Lines configured by zsh-newuser-install
|
||||
HISTFILE=~/.histfile
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=100000
|
||||
setopt appendhistory nomatch notify extendedglob
|
||||
bindkey -v
|
||||
# End of lines configured by zsh-newuser-install
|
||||
|
||||
# Change cursor shape for different vi modes.
|
||||
function zle-keymap-select {
|
||||
if [[ ${KEYMAP} == vicmd ]] ||
|
||||
[[ $1 = 'block' ]]; then
|
||||
|
@ -37,6 +33,7 @@ zle -N zle-keymap-select
|
|||
[ -f "$HOME/.bashrc" ] && emulate sh -c "source $HOME/.bashrc"
|
||||
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue