Code

sysdb: Added a query to the history after executing it.
authorSebastian Harl <sh@tokkee.org>
Fri, 10 Jan 2014 09:01:15 +0000 (10:01 +0100)
committerSebastian Harl <sh@tokkee.org>
Fri, 10 Jan 2014 09:01:15 +0000 (10:01 +0100)
commita2edc622eb8aa5ff956757a846405d7cbd05c646
tree76c34303bcc6d481dcd0f5daba3f4bf81e4bcff2
parent535ba6bcd978445606450f63e25a86c3c3a0073d
sysdb: Added a query to the history after executing it.

Mimic zsh's histignorespace option and ignore commands when the first
character is a space.
src/tools/sysdb/command.c
src/tools/sysdb/command.h
src/tools/sysdb/input.c
src/tools/sysdb/input.h
src/tools/sysdb/scanner.l