mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-22 21:41:01 +01:00
Enable hishtory shell completions by default
This commit is contained in:
parent
8082bd5a2d
commit
054744248c
@ -34,4 +34,6 @@ function __hishtory_on_control_r
|
||||
rm -f $tmp
|
||||
end
|
||||
|
||||
[ (hishtory config-get enable-control-r) = true ] && bind \cr __hishtory_on_control_r
|
||||
[ (hishtory config-get enable-control-r) = true ] && bind \cr __hishtory_on_control_r
|
||||
|
||||
hishtory completion fish | source
|
@ -51,3 +51,5 @@ __hishtory_bind_control_r() {
|
||||
}
|
||||
|
||||
[ "$(hishtory config-get enable-control-r)" = true ] && __hishtory_bind_control_r
|
||||
|
||||
source <(hishtory completion bash)
|
@ -40,3 +40,5 @@ _hishtory_bind_control_r() {
|
||||
}
|
||||
|
||||
[ "$(hishtory config-get enable-control-r)" = true ] && _hishtory_bind_control_r
|
||||
|
||||
source <(hishtory completion zsh); compdef _hishtory hishtory
|
Loading…
Reference in New Issue
Block a user