add inkscape, newline in terminal
This commit is contained in:
parent
f54d364ab4
commit
fc1ecbc24f
2
.bashrc
2
.bashrc
|
@ -71,7 +71,7 @@ if [ -n "$force_color_prompt" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$color_prompt" = yes ]; then
|
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
|
else
|
||||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||||
fi
|
fi
|
||||||
|
|
16
.dockerfunc
16
.dockerfunc
|
@ -152,6 +152,22 @@ icedove() {
|
||||||
exit 0;
|
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() {
|
latex() {
|
||||||
del_stopped latex
|
del_stopped latex
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue