From a5e467b7cf1d83bc38d0fd2aacfc0593beed6cff Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 21 Oct 2016 15:23:40 +0200 Subject: Update iclean and grade aliases --- system/bash_aliases.symlink | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system') diff --git a/system/bash_aliases.symlink b/system/bash_aliases.symlink index 94915b5..7005fdd 100644 --- a/system/bash_aliases.symlink +++ b/system/bash_aliases.symlink @@ -1,9 +1,9 @@ alias batstat='upower -i /org/freedesktop/UPower/devices/DisplayDevice' alias iclean="iclean -nr -nt" alias :q="exit" -alias grade="cd ./\$(grep -l 'Needs Grading' s*/s*.txt | sort -R | cut -d'/' -f1 | head -1) && for f in *.pdf; do xdg-open \"\$f\"; done; vim -c \"set tw=79 spell spelllang=nl\" s*.txt && cd .." +alias grade="cd ./\$(grep -l 'Needs Grading' s*/s*.txt | sort -R | cut -d'/' -f1 | head -1) && for f in *.pdf; do evince \"\$f\" & PID=\$!; done; vim -c \"set tw=79 spell spelllang=nl\" s*.txt && kill \"\$PID\" && cd .." alias synctop="watch -n1 grep -e Dirty: -e Writeback: /proc/meminfo" -alias iclean="docker run --rm -it -v ~/.iclean_history:/home/.iclean_history camilstaps/iclean" +alias iclean="docker run --rm -it -v ~/.iclean_history:/home/.iclean_history -v ~/.iclean_template:/home/.iclean_template camilstaps/iclean" alias gcc-6.2='docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app gcc:6.2 gcc' alias gcc-5.4='docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app gcc:5.4 gcc' alias gcc-4.9='docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app gcc:4.9 gcc' -- cgit v1.2.3