mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-02 11:39:24 +01:00
Fix incorrect shell name in config.fish for pre-saving
This commit is contained in:
parent
9b4af85f34
commit
eeacd6fa70
@ -2,8 +2,8 @@ function _hishtory_post_exec --on-event fish_preexec
|
||||
# Runs after <ENTER>, but before the command is executed
|
||||
set --global _hishtory_command $argv
|
||||
set --global _hishtory_start_time (date +%s)
|
||||
hishtory presaveHistoryEntry bash "$_hishtory_command" $_hishtory_start_time & # Background Run
|
||||
# hishtory presaveHistoryEntry bash "$_hishtory_command" $_hishtory_start_time # Foreground Run
|
||||
hishtory presaveHistoryEntry fish "$_hishtory_command" $_hishtory_start_time & # Background Run
|
||||
# hishtory presaveHistoryEntry fish "$_hishtory_command" $_hishtory_start_time # Foreground Run
|
||||
end
|
||||
|
||||
set --global _hishtory_first_prompt 1
|
||||
|
Loading…
Reference in New Issue
Block a user