add inkscape, newline in terminal

This commit is contained in:
Frieder Schlesier 2016-03-22 09:17:44 +01:00
parent f54d364ab4
commit fc1ecbc24f
2 changed files with 17 additions and 1 deletions

View File

@ -71,7 +71,7 @@ if [ -n "$force_color_prompt" ]; then
fi
if [ "$color_prompt" = yes ]; then
PS1="\[\e[01;36m\]\u\[\e[0m\]\[\e[00;37m\]@\[\e[0m\]\[\e[01;33m\]\h\[\e[0m\]\[\e[00;36m\][\w]\[\e[0m\]\[\e[01;31m\]\\$\[\e[0m\]\[\e[00;37m\] \[\e[0m\]"
PS1="\[\e[01;36m\]\u\[\e[0m\]\[\e[00;37m\]@\[\e[0m\]\[\e[01;33m\]\h\[\e[0m\]\[\e[00;36m\][\w]\[\e[0m\]\[\e[01;31m\]\n\\$\[\e[0m\]\[\e[00;37m\] \[\e[0m\]"
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi

View File

@ -152,6 +152,22 @@ icedove() {
exit 0;
}
inkscape() {
del_stopped inkscape
# -v $HOME/.Xauthority:/home/inkscaper/.Xauthority \
docker run --rm \
--name="inkscape" \
-v $HOME/Pictures:/home/inkscaper/Pictures \
-v $HOME/Documents:/home/inkscaper/Documents \
-u inkscaper \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
--net=host \
fschl/inkscape:latest
}
latex() {
del_stopped latex