From ad2ba063c88d86fe0d2fbdcace739dcf620c5d99 Mon Sep 17 00:00:00 2001 From: Oshgnacknak Date: Sat, 6 Jan 2024 00:04:27 +0100 Subject: [PATCH] zsh: use autosuggestions --- README.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ _zshrc | 9 +++------ 2 files changed, 49 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 92b177d..e425231 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,48 @@ # dotfiles This repo will hold a copy of most of my dotfiles. + +## flake.nix + +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 diff --git a/_zshrc b/_zshrc index 4a35e45..a02d09f 100755 --- a/_zshrc +++ b/_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