writingenv: zsh to fish

This commit is contained in:
Marvin Steadfast 2017-09-06 11:45:59 +00:00
parent ddd22647d4
commit 05a6441632
3 changed files with 5 additions and 6 deletions

View File

@ -122,6 +122,6 @@ newpost:
$(PY) $(BASEDIR)/newpost.py $(PY) $(BASEDIR)/newpost.py
writingenv: writingenv:
docker-compose run --rm --service-ports blog /bin/zsh docker-compose run --rm --service-ports blog /usr/bin/fish
.PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github newpost writingenv .PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github newpost writingenv

View File

@ -64,8 +64,7 @@ USER blog
RUN set -ex \ RUN set -ex \
&& git clone https://github.com/xsteadfastx/batcave.git ~/.batcave \ && git clone https://github.com/xsteadfastx/batcave.git ~/.batcave \
&& ansible-playbook -i ~/.batcave/hosts ~/.batcave/shell.yml -c local --extra-vars="hosts=127.0.0.1" \ && ansible-playbook -i ~/.batcave/hosts ~/.batcave/shell.yml -c local --extra-vars="hosts=127.0.0.1" \
&& ansible-playbook -c local /home/blog/playbooks/writing_env.yml \ && ansible-playbook -c local /home/blog/playbooks/writing_env.yml
&& /bin/zsh -c "source /home/blog/.zshrc && antigen update"
# clean up # clean up
RUN set -ex \ RUN set -ex \

View File

@ -71,11 +71,11 @@
- name: export variables - name: export variables
lineinfile: lineinfile:
dest=~/.zshrc dest=~/.config/fish/config.fish
line='{{ item }}' line='{{ item }}'
with_items: with_items:
- export PYTHONIOENCODING=UTF-8 - set -gx PYTHONIOENCODING UTF-8
- export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt - set -gx SSL_CERT_FILE /etc/ssl/certs/ca-certificates.crt
- name: no git colors - name: no git colors
command: git config --global color.ui false command: git config --global color.ui false