add example remove command

This commit is contained in:
Gokcehan committed 2017-02-11 16:28:45 +03:00
1 parent de1168fb96
commit 96797f2487
3 files changed
+18

No files matched your search

+8
View File
@@ -88,6 +88,14 @@ $mkdir -p $HOME/.trash
# (see 'man mv' or 'mv --help' for backup options)
cmd trash $IFS=':'; mv --backup=numbered $fx $HOME/.trash
# remove current file or selected files (prompting)
#cmd remove ${{
# echo "$fx" | tr ':' '\n'
# echo -n 'remove?[y/n]'
# read ans
# [ $ans = 'y' ] && (IFS=':'; rm -rf $fx)
#}}
# extract the current file with the right command
# (xkcd link: https://xkcd.com/1168/)
cmd extract ${{