writingenv: zsh to fish
This commit is contained in:
parent
ddd22647d4
commit
05a6441632
2
Makefile
2
Makefile
@ -122,6 +122,6 @@ newpost:
|
||||
$(PY) $(BASEDIR)/newpost.py
|
||||
|
||||
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
|
||||
|
@ -64,8 +64,7 @@ USER blog
|
||||
RUN set -ex \
|
||||
&& 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 -c local /home/blog/playbooks/writing_env.yml \
|
||||
&& /bin/zsh -c "source /home/blog/.zshrc && antigen update"
|
||||
&& ansible-playbook -c local /home/blog/playbooks/writing_env.yml
|
||||
|
||||
# clean up
|
||||
RUN set -ex \
|
||||
|
@ -71,11 +71,11 @@
|
||||
|
||||
- name: export variables
|
||||
lineinfile:
|
||||
dest=~/.zshrc
|
||||
dest=~/.config/fish/config.fish
|
||||
line='{{ item }}'
|
||||
with_items:
|
||||
- export PYTHONIOENCODING=UTF-8
|
||||
- export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
||||
- set -gx PYTHONIOENCODING UTF-8
|
||||
- set -gx SSL_CERT_FILE /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
- name: no git colors
|
||||
command: git config --global color.ui false
|
||||
|
Loading…
Reference in New Issue
Block a user