rcaloras / bash-preexec

⚡ preexec and precmd functions for Bash just like Zsh.
MIT License
876 stars 93 forks source link

Whitespace is trimmed from commands #78

Closed steinarvk closed 5 years ago

steinarvk commented 5 years ago

Whitespace is trimmed from commands. For instance, the command " foo " is recorded as "foo".

This whitespace is stripped when reading the line from the history with the "read" builtin.