Add zsh-autosuggestions
the build failed
Details
the build failed
Details
parent
62bd7d3215
commit
96a549b6df
|
@ -21,6 +21,7 @@ RUN ./.install/zsh.sh
|
||||||
RUN ./.install/neovim.sh
|
RUN ./.install/neovim.sh
|
||||||
# shell config, env manager
|
# shell config, env manager
|
||||||
RUN ./.install/pure.sh
|
RUN ./.install/pure.sh
|
||||||
|
RUN ./.install/zsh-autosuggestions.sh
|
||||||
RUN ./.install/thefuck.sh
|
RUN ./.install/thefuck.sh
|
||||||
RUN ./.install/yadm.sh
|
RUN ./.install/yadm.sh
|
||||||
# languages
|
# languages
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
source ./.versions
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Installing zsh-autosuggestions..."
|
||||||
|
echo
|
||||||
|
|
||||||
|
apk add --no-cache --virtual .build-deps \
|
||||||
|
git
|
||||||
|
|
||||||
|
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
|
||||||
|
cd ~/.zsh/zsh-autosuggestions
|
||||||
|
git checkout v0.4.3
|
||||||
|
|
||||||
|
apk del .build-deps
|
6
.zshrc
6
.zshrc
|
@ -17,10 +17,16 @@ setopt auto_cd
|
||||||
setopt interactivecomments
|
setopt interactivecomments
|
||||||
setopt extended_glob
|
setopt extended_glob
|
||||||
|
|
||||||
|
# editor
|
||||||
|
export EDITOR=nvim
|
||||||
|
|
||||||
# pure
|
# pure
|
||||||
autoload -U promptinit; promptinit
|
autoload -U promptinit; promptinit
|
||||||
prompt pure
|
prompt pure
|
||||||
|
|
||||||
|
# autosuggestions
|
||||||
|
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
|
|
||||||
# thefuck
|
# thefuck
|
||||||
eval $(thefuck --alias nope)
|
eval $(thefuck --alias nope)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue