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
|
||||
|
||||
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
|
||||
|
@ -7,6 +7,7 @@ services:
|
||||
environment:
|
||||
- BLOG_UID=1000
|
||||
- BLOG_GID=1000
|
||||
- USER=blog
|
||||
volumes:
|
||||
- $PWD:/blog
|
||||
- $HOME/.ssh:/home/blog/.ssh
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user