moving writingenv from fish to xonsh

This commit is contained in:
Marvin Steadfast 2017-12-15 19:43:08 +01:00
parent 97f33e2bce
commit 6d45a204cb
3 changed files with 5 additions and 4 deletions

View File

@ -122,6 +122,6 @@ newpost:
$(PY) $(BASEDIR)/newpost.py
writingenv:
docker-compose run --rm --service-ports blog /usr/bin/fish
docker-compose run --rm --service-ports blog /opt/xonsh/bin/xonsh
.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

@ -7,6 +7,7 @@ services:
environment:
- BLOG_UID=1000
- BLOG_GID=1000
- USER=blog
volumes:
- $PWD:/blog
- $HOME/.ssh:/home/blog/.ssh

View File

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