added docker file and fix fzf no default arg

pull/3/head
kevin zhuang 4 years ago
parent 08610d26f4
commit c4e40cd0e4

@ -0,0 +1,9 @@
FROM alpine:latest
RUN apk add --no-cache bash
RUN apk add --no-cache git
RUN apk add --no-cache vim
RUN apk add --no-cache fzf
ADD ./ /root/dotbare
RUN echo "PATH=$PATH:$HOME/dotbare" >> "$HOME"/.bashrc
WORKDIR /root
ENTRYPOINT ["/bin/bash"]

@ -22,12 +22,13 @@ if [[ -z "${DOTBARE_KEY}" ]]; then
--bind=alt-a:toggle-all
--bind=alt-w:jump
--bind=alt-0:top
--bind=alt-c:clear-query
--bind=alt-s:toggle-sort
--bind=alt-t:toggle-preview
"
fi
[[ -z "${FZF_DEFAULT_OPTS}" ]] && export FZF_DEFAULT_OPTS='--cycle'
FZF_DEFAULT_OPTS="
$FZF_DEFAULT_OPTS
--ansi

Loading…
Cancel
Save