From 7d2a0e6920cdef0a7db72893e1121c6a5a85de34 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Wed, 6 May 2015 09:33:03 -0700 Subject: [PATCH] good for the environment --- home/-shrc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/home/-shrc b/home/-shrc index e1d27e3..5b183f8 100644 --- a/home/-shrc +++ b/home/-shrc @@ -37,6 +37,9 @@ done # PuTTY over serial [[ "$TERM" == vt102 ]] && export TERM="xterm" +# Qt is stupid and thinks we're running unity so it hides the menu bar +[[ "$DESKTOP_SESSION" == xfce ]] && export QT_QPA_PLATFORMTHEME="" + export PREFIX="$HOME/opt/local" export CC="$(has clang || has gcc)" export CXX="$(has clang || has g++)" @@ -60,14 +63,17 @@ done # just flags export LESS='-SR' +alias db="dropbox_uploader" alias makedbg='CFLAGS="-O0" LDFLAGS="-g" make' alias fils="du -bad1" -alias lsfm="lsf -ugpms" alias lsa="ls -A --group-directories-first" alias logs="logs -o cat -b -e" alias logsf="logs -f -e" alias diff="git diff --color=auto --no-ext-diff --no-index" -alias db="dropbox_uploader" +alias gs='git status' # rip ghostscript +alias gd='git diff -U2' +alias gds='git --no-pager diff --stat' +alias gl='git log --oneline' # being specific alias erc="e ~/.zshrc ~/shrc.zsh ~/.bashrc ~/.vimrc" @@ -76,10 +82,6 @@ alias crawl='screen -dR crawl ssh crawl@crawl.develz.org -i ~/.ssh/crawl' alias crawla='screen -dR crawl ssh crawl@crawl.akrasiac.org -l joshua -i ~/.ssh/crawl' alias revend='objcopy -I binary -O binary --reverse-bytes=4' alias fucksystemd='dmesg | grep -v audit' -alias gd='git diff -U2' -alias gds='git --no-pager diff --stat' -alias gl='git log --oneline' -alias gs='git status' # rip ghostscript alias aur="BUILDDIR=$HOME/src $HOME/sh/aur -jj" # providing extra functionality