From 19bd17eb21742daf4abf6bce34d74dd8fe7cb5e1 Mon Sep 17 00:00:00 2001 From: fschl Date: Fri, 30 Oct 2015 11:37:04 +0100 Subject: [PATCH] add latex, fix aliases --- .aliases | 8 ++++---- .dockerfunc | 24 ++++++++++++++++++------ 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/.aliases b/.aliases index 7e074b8..a1d41ff 100644 --- a/.aliases +++ b/.aliases @@ -1,7 +1,7 @@ -alias .. cd .. -alias ... cd ../.. -alias .... cd ../../.. -alias ..... cd ../../../.. +alias ..='cd ..' +alias ...='cd ../..' +alias ....='cd ../../..' +alias .....='cd ../../../..' alias ll='ls -ahlF' alias la='ls -Ah' diff --git a/.dockerfunc b/.dockerfunc index b92adae..90ddd74 100644 --- a/.dockerfunc +++ b/.dockerfunc @@ -33,6 +33,14 @@ relies_on() { done } +# Applications... + +bropages() { + docker run -it --rm \ + fschl/bropages \ + bro +} + chrome() { # add flags for proxy if passed local proxy= @@ -80,6 +88,16 @@ eclipse() { fschl/eclipse-jdk7:latest } +latex() { + del_stopped latex + + docker run -it --rm \ + --net host \ + -v $(pwd):/usr/src/latex \ + --workdir="/usr/src/latex" \ + fschl/latex "$@" +} + pulseaudio() { del_stopped pulseaudio @@ -112,9 +130,3 @@ skype() { --net host \ fschl/skype } - -bro() { - docker run -it --rm \ - fschl/bropages \ - bro -}