lib/chronicle/shell/shell_history_extractor.rb in chronicle-shell-0.2.0 vs lib/chronicle/shell/shell_history_extractor.rb in chronicle-shell-0.2.1
- old
+ new
@@ -72,9 +72,11 @@
else
commands << command
end
end
+ commands = commands.first(@config.limit) if @config.limit
+
commands
end
def load_commands_from_bash
timestamp = nil