aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/bash_aliases.symlink4
1 files changed, 2 insertions, 2 deletions
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'