[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
some string issue inside cmd not found handle
From: |
Alex fxmbsw7 Ratchev |
Subject: |
some string issue inside cmd not found handle |
Date: |
Sat, 6 Nov 2021 07:41:23 +0100 |
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_COMMAND"" [New] 0,0-1
All
- some string issue inside cmd not found handle,
Alex fxmbsw7 Ratchev <=