Skip to content

Commit

Permalink
Update rc_awesome.xsh
Browse files Browse the repository at this point in the history
  • Loading branch information
anki-code authored May 27, 2024
1 parent 44c45d2 commit 8ba6cf4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xontrib/rc_awesome.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ $PROMPT_FIELDS['prompt_end'] = '@'
# Add xontrib-cmd-durations to right prompt.
$RIGHT_PROMPT = '{long_cmd_duration}'

# The SQLite history backend saves command immediately
# unlike JSON backend that save the commands at the end of the session.
# The SQLite history backend:
# * Saves command immediately unlike JSON backend.
# * Allows to do `history pull` to get commands from another parallel session.
$XONSH_HISTORY_BACKEND = 'sqlite'

# What commands are saved to the history list. By default all commands are saved.
Expand Down

0 comments on commit 8ba6cf4

Please sign in to comment.