aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorCamil Staps2016-09-17 12:00:23 +0200
committerCamil Staps2016-11-30 19:11:44 +0100
commita8fcd5b312205b527500703990a5fdc1c279c77b (patch)
tree0091a11809517c98684ae6d6d6ea110348b5fb0d /system
parentAdd vim-abc, html and markdown prefs for vim (diff)
grade alias
Diffstat (limited to 'system')
-rw-r--r--system/bash_aliases.symlink2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/bash_aliases.symlink b/system/bash_aliases.symlink
index 443f9b7..197efdc 100644
--- a/system/bash_aliases.symlink
+++ b/system/bash_aliases.symlink
@@ -1,4 +1,4 @@
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 .."