From ad590c18ad260568e45701557fffb3a3e519dc22 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 28 Dec 2013 18:11:52 +0100 Subject: misc updates Signed-off-by: Florian Pritz --- rebuild-ycm | 8 -------- wireshark-remote | 4 +++- xo | 3 ++- 3 files changed, 5 insertions(+), 10 deletions(-) delete mode 100755 rebuild-ycm diff --git a/rebuild-ycm b/rebuild-ycm deleted file mode 100755 index 42431d3..0000000 --- a/rebuild-ycm +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -TEMPDIR=$(mktemp -d) -trap "rm -rf '${TMPDIR}'" EXIT TERM - -cd "$TEMPDIR" -cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBCLANG=ON . ~/.vim/bundle/YouCompleteMe/cpp -make -j12 ycm_core diff --git a/wireshark-remote b/wireshark-remote index ea295f5..0d4793d 100755 --- a/wireshark-remote +++ b/wireshark-remote @@ -3,4 +3,6 @@ host="$1" iface="$2" -wireshark -k -i <(ssh "$host" tshark -i "$iface" -w - not tcp port 22) +#wireshark -k -i <(ssh "$host" tshark -i "$iface" -w - not tcp port 22) +#wireshark -k -i <(ssh "$host" dumpcap -q -i "$iface" -w /dev/stdout not tcp port 22) +wireshark -k -i <(ssh "$host" /home/flo/capture.sh "$iface") diff --git a/xo b/xo index f1efcbf..797db48 100755 --- a/xo +++ b/xo @@ -21,7 +21,8 @@ image="sxiv -Z" video=mplayer default=${EDITOR:-vi} # Fallback -- should be a text editor -handler[application/pdf]=evince +handler[inode/directory]=dolphin +handler[application/pdf]=zathura handler[application/vnd.oasis.opendocument.text]=$doc handler[application/xml]=firefox handler[doc]=$doc -- cgit v1.2.3-24-g4f1b