mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08:00
6c4a51d56e
Reject more invalid commands from the bash history file. Fixes #3636
20 lines
396 B
Plaintext
20 lines
396 B
Plaintext
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
|