moving writingenv from fish to xonsh
This commit is contained in:
parent
97f33e2bce
commit
6d45a204cb
2
Makefile
2
Makefile
@ -122,6 +122,6 @@ newpost:
|
|||||||
$(PY) $(BASEDIR)/newpost.py
|
$(PY) $(BASEDIR)/newpost.py
|
||||||
|
|
||||||
writingenv:
|
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
|
.PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github newpost writingenv
|
||||||
|
@ -7,6 +7,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- BLOG_UID=1000
|
- BLOG_UID=1000
|
||||||
- BLOG_GID=1000
|
- BLOG_GID=1000
|
||||||
|
- USER=blog
|
||||||
volumes:
|
volumes:
|
||||||
- $PWD:/blog
|
- $PWD:/blog
|
||||||
- $HOME/.ssh:/home/blog/.ssh
|
- $HOME/.ssh:/home/blog/.ssh
|
||||||
|
@ -74,11 +74,11 @@
|
|||||||
|
|
||||||
- name: export variables
|
- name: export variables
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest=~/.config/fish/config.fish
|
dest=~/.xonshrc
|
||||||
line='{{ item }}'
|
line='{{ item }}'
|
||||||
with_items:
|
with_items:
|
||||||
- set -gx PYTHONIOENCODING UTF-8
|
- $PYTHONIOENCODING = 'UTF-8'
|
||||||
- set -gx SSL_CERT_FILE /etc/ssl/certs/ca-certificates.crt
|
- $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
|
||||||
|
Loading…
Reference in New Issue
Block a user