flutter_ecommerce_app icon indicating copy to clipboard operation
flutter_ecommerce_app copied to clipboard

-bash: PROMPT_COMMAND: readonly variable

Open ifdongs opened this issue 3 years ago • 3 comments

The root administrator sets the variables to read only. Is there any other way to use z.lua?

Best Regards.

ifdongs avatar Jun 10 '21 15:06 ifdongs

sure,change to zsh

skywind3000 avatar Jun 11 '21 13:06 skywind3000

yes, I found that the most commonly used cmds are cd and ls, so I created a new temp variable and combined it with cd and ls.

ifdongs avatar Jun 12 '21 14:06 ifdongs

可以以这种方式取消 gdb -ex 'call (int)unbind_variable("PROMPT_COMMAND")' --pid=$$ --batch

linux-FCMNQi:~ # PROMPT_COMMAND=3 -bash: 3: command not found

vieyahn2017 avatar Jan 19 '24 09:01 vieyahn2017