Add thefuck
parent
d46e525ec9
commit
820ebeaa5a
|
@ -20,6 +20,7 @@ RUN ./.install/zsh.sh
|
|||
RUN ./.install/neovim.sh
|
||||
# shell config, env manager
|
||||
RUN ./.install/zsh-pure.sh
|
||||
RUN ./.install/thefuck.sh
|
||||
RUN ./.install/yadm.sh
|
||||
# languages
|
||||
RUN ./.install/golang.sh
|
||||
|
|
|
@ -17,6 +17,12 @@ pipeline:
|
|||
- ./.install/neovim.sh
|
||||
- nvim -version
|
||||
- nvim +checkhealth +qa
|
||||
test-thefuck:
|
||||
group: test
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- ./.install/thefuck.sh
|
||||
- thefuck -v
|
||||
test-yadm:
|
||||
group: test
|
||||
image: alpine:latest
|
||||
|
|
|
@ -4,7 +4,7 @@ set -e
|
|||
source ./.versions
|
||||
|
||||
echo
|
||||
echo "Installing pure-prompt for ZSH..."
|
||||
echo "Installing pure-prompt for zsh..."
|
||||
echo
|
||||
|
||||
mkdir -p /usr/local/share/zsh/site-functions
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
source ./.versions
|
||||
|
||||
echo
|
||||
echo "Installing thefuck for zsh..."
|
||||
echo
|
||||
|
||||
apk add --no-cache --virtual .build-deps \
|
||||
build-base \
|
||||
python3-dev \
|
||||
linux-headers
|
||||
|
||||
apk add --no-cache \
|
||||
python3
|
||||
|
||||
pip3 install thefuck
|
||||
|
||||
apk del .build-deps
|
Loading…
Reference in New Issue