mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
6c4a51d56e
Reject more invalid commands from the bash history file. Fixes #3636
19 lines
396 B
Text
19 lines
396 B
Text
echo foo
|
|
history --help
|
|
#1339718290
|
|
export XVAR='exported'
|
|
#1339718298
|
|
echo supsup
|
|
#abcde
|
|
echo hello \
|
|
second line \
|
|
the `echo third` line \
|
|
final line
|
|
another `command
|
|
and arg` to skip
|
|
backticks `are not allowed`
|
|
a && echo invalid construct
|
|
[[ x = y ]] && echo double brackets not allowed
|
|
(( 1 = 2 )) && echo double parens not allowed
|
|
posix_cmd_sub $(is not supported)
|
|
sleep 123
|