From eb476759401b2c84c39a9ff11215f18a3e5edf40 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Tue, 23 Feb 2016 15:50:02 +0100 Subject: [PATCH] changes from tslaptop-1 --- aliases.zsh | 9 +++++++++ chrome | 8 ++++++-- curlrc | 5 +++-- profile | 15 ++++++++++----- screenrc | 7 +------ 5 files changed, 29 insertions(+), 15 deletions(-) create mode 100644 aliases.zsh diff --git a/aliases.zsh b/aliases.zsh new file mode 100644 index 0000000..b34c0c5 --- /dev/null +++ b/aliases.zsh @@ -0,0 +1,9 @@ +alias -g P="2>&1 | pygmentize -g -O full,style=solarized_dark256" +alias pygmentize='pygmentize -g -O full,style=solarized_dark256' + +alias cdiff="colordiff" +alias clean-gpg="for a in `gpg -k | sed -rn 's/pub +[0-9]+[DR]\/(0x[0-9A-Fa-f]+).*/\1/p'`; do gpg2 --quiet --no-tty --edit-key $a clean save; done;" + +alias bz2c='bzip2 --best' +alias gzc='gzip --best --no-name' +alias xzc='xz --best --extreme' diff --git a/chrome b/chrome index 43b7742..d13bb7b 100755 --- a/chrome +++ b/chrome @@ -1,3 +1,7 @@ #! /bin/sh -chromium-browser --ignore-gpu-blacklist --cipher-suite-blacklist=0x0004,0x0005,0x000a,0x0032,0x009c,0x009e,0xc007,0xc009,0xc00a,0xc011,0xc013,0xc014,0xc02b,0xc02f --enable-nacl -#,0x0005 +chromium --ignore-gpu-blacklist --cipher-suite-blacklist=0x000a,0xc009,0xc00a,0xc013,0xc014,0xc02b,0xc02f --enable-nacl --use-spdy=off +#0x0004 RC4-MD5 is deprecated on chrome +#0x0005 RC4-SHA is deprecated on chrome +#0x0032 DHE-DSS-AES128-SHA is deprecated on chrome +#0xc007 ECDHE-ECDSA-RC4-SHA is deprecated on chrome +#0xC011 ECDHE-RSA-RC4-SHA is deprecated on chrome diff --git a/curlrc b/curlrc index aee2393..6cbadbc 100644 --- a/curlrc +++ b/curlrc @@ -1,6 +1,7 @@ capath = /etc/ssl/certs -ciphers = AESGCM:HIGH:!AES128:!3DES:!CAMELLIA128:!aNULL:!MD5:!SEED:!ECDH -tlsv1 +ciphers = HIGH:kEDH:-AES128:!3DES:!DES:!CAMELLIA128:!aNULL:!MD5:!SEED:!ECDH:!PSK:!DSS:!AESGCM +tlsv1.2 fail compressed remote-time +location diff --git a/profile b/profile index b17cd93..7114406 100644 --- a/profile +++ b/profile @@ -8,10 +8,15 @@ # for ssh logins, install and configure the libpam-umask package. #umask 022 -# if running bash, include .bashrc, if it exists -[ -n "$BASH_VERSION" -a -r "$HOME/.bashrc" ] && . "$HOME/.bashrc" +if [ -z $PROFILE_ALREADY_SET ]; +then + export PROFILE_ALREADY_SET=1 -# set PATH so it includes user's private bin if it exists -[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH" + # if running bash, include .bashrc, if it exists + [ -n "$BASH_VERSION" -a -r "$HOME/.bashrc" ] && . "$HOME/.bashrc" -[[ -f "$HOME/bin/set_environ.sh" ]] && . "$HOME/bin/set_environ.sh"; + # set PATH so it includes user's private bin if it exists + [ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH" + + [ -f "$HOME/bin/set_environ.sh" ] && . "$HOME/bin/set_environ.sh"; +fi diff --git a/screenrc b/screenrc index 1ee2584..b661951 100644 --- a/screenrc +++ b/screenrc @@ -4,9 +4,4 @@ shell "/usr/bin/zsh" #defhstatus "screen ^E (^Et) | $USER@^EH" termcapinfo xterm* ti@:te@ altscreen on -screen -t "development" -screen -t "remote" -screen -t "serial" -screen -t "misc" -screen -t "man" -screen -t "misc2" +defscrollback 10000