Re: some string issue inside cmd not found handle

2021-11-06 Thread Alex fxmbsw7 Ratchev
On Sat, Nov 6, 2021, 19:04 Lawrence Velázquez wrote: > On Sat, Nov 6, 2021, at 2:41 AM, Alex fxmbsw7 Ratchev wrote: > > cat function/command_not_found_handle > > m "$BASH_COMMAND" > > > > type m > > m is aliased to `vim' > > > > type command_not_found_handle > > command_not_found_handle is a func

Re: some string issue inside cmd not found handle

2021-11-06 Thread Lawrence Velázquez
On Sat, Nov 6, 2021, at 2:41 AM, Alex fxmbsw7 Ratchev wrote: > cat function/command_not_found_handle > m "$BASH_COMMAND" > > type m > m is aliased to `vim' > > type command_not_found_handle > command_not_found_handle is a function > command_not_found_handle () > { > vim "$BASH_COMMAND" > } lma

some string issue inside cmd not found handle

2021-11-05 Thread Alex fxmbsw7 Ratchev
cat function/command_not_found_handle m "$BASH_COMMAND" type m m is aliased to `vim' type command_not_found_handle command_not_found_handle is a function command_not_found_handle () { vim "$BASH_COMMAND" } foo # vim opens, with the bash cmd as arg ( threated as filename ) "vim "$BASH_COMMAN