Add comments and explanations
parent
a887290539
commit
8c05350c8b
|
|
@ -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; }
|
function del() { mkdir -p /tmp/.trash && mv "$@" /tmp/.trash; }
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
|
cite about-plugin
|
||||||
|
about-plugin 'make and cd into a directory in one command'
|
||||||
|
|
||||||
function mkcd () { mkdir -p "$@" && eval cd "\"\$$#\""; }
|
function mkcd () { mkdir -p "$@" && eval cd "\"\$$#\""; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue