fish-shell/tests/history_sample_bash
Kurtis Rader 6c4a51d56e improve bash history importing
Reject more invalid commands from the bash history file.

Fixes #3636
2017-05-20 21:03:31 -07:00

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