Skip to content

Commit 8a6a84e

Browse files
committed
Improve fish support
1 parent d22bba2 commit 8a6a84e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/lib/config.fish

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# For detecting color rendering support for this terminal, see #134
2-
hishtory getColorSupport
3-
export _hishtory_tui_color=$status
2+
set -gx _hishtory_tui_color (hishtory getColorSupport; echo $status)
3+
44

55
function _hishtory_post_exec --on-event fish_preexec
66
# Runs after <ENTER>, but before the command is executed
@@ -40,4 +40,4 @@ end
4040

4141
[ (hishtory config-get enable-control-r) = true ] && bind \cr __hishtory_on_control_r
4242

43-
hishtory completion fish | source
43+
hishtory completion fish | source

0 commit comments

Comments
 (0)