Add comments and explanations

pull/555/head
Miguel Morales 2015-08-29 18:47:45 -05:00
parent a887290539
commit 8c05350c8b
2 changed files with 9 additions and 0 deletions

View File

@ -1 +1,7 @@
cite about-plugin
about-plugin 'soft delete by moving contents into a hidden folder in tmp'
# the tmp folder gets cleared on reboot
# so this would actually remove the file on
# shutdown
function del() { mkdir -p /tmp/.trash && mv "$@" /tmp/.trash; }

View File

@ -1 +1,4 @@
cite about-plugin
about-plugin 'make and cd into a directory in one command'
function mkcd () { mkdir -p "$@" && eval cd "\"\$$#\""; }