Using trash on MacOS Homebrew

2016-09-13 Thread Joseph Reagle
I use the command `trash` on homebrew mac and recently screwed myself in mc when I deleted files and realized it didn't use trash either. Is there an alias, keyboard remapping, or something else that would work on MacOS homebrew? Thanks ___ mc

Re: Using trash on MacOS Homebrew

2016-08-25 Thread Yury V. Zaytsev
On Thu, 25 Aug 2016, Joseph Reagle wrote: I just saw mc^2 yesterday, but didn't see it on homebrew, don't know if it's an acrimonious fork, and don't know Lua! But this gives me a reason to try to install it :-) It's a friendly experimental fork of mc featuring a Lua-based scripting engine

Re: Using trash on MacOS Homebrew

2016-08-25 Thread Joseph Reagle
On 8/25/16 10:41 AM, Mooffie wrote: > It'd be easier to add the command to the user menu (that's ). Great tip, I hadn't looked into that yet. > You can do this in mc^2. Here's a little snippet to make use > 'trash': > > https://gist.github.com/mooffie/4111a39e18934e2b4e7001c1c0cd3213 > >

Re: Using trash on MacOS Homebrew

2016-08-25 Thread Mooffie
On 8/23/16, Joseph Reagle wrote: > > For the time being, and if I remember, I type `trash`, mark the files, and > then `ctrl+x t` to paste them. It'd be easier to add the command to the user menu (that's ). (BTW, passing gazillion files to the shell with `ctrl+x t` hangs

Re: Using trash on MacOS Homebrew

2016-08-23 Thread Yury V. Zaytsev
On Tue, 23 Aug 2016, Joseph Reagle wrote: On 8/23/16 12:44 PM, Yury V. Zaytsev wrote: Sadly, I don't think there is anything you can do other than using libtrash or the like, but I'm not sure whether libtrash has been even ported to macOS. Not that I could see. I wish I could map F8 to a

Re: Using trash on MacOS Homebrew

2016-08-23 Thread Joseph Reagle
On 8/23/16 12:44 PM, Yury V. Zaytsev wrote: > Sadly, I don't think there is anything you can do other than using > libtrash or the like, but I'm not sure whether libtrash has been even > ported to macOS. Not that I could see. I wish I could map F8 to a user supplied command. For the time being,

Using trash on MacOS Homebrew

2016-08-23 Thread Joseph Reagle
I use the command `trash` on homebrew mac and recently screwed myself in mc when I deleted files and realized it didn't use trash either. Is there an alias, keyboard remapping, or something else that would work on MacOS homebrew? Thanks ___ mc