summaryrefslogtreecommitdiff
path: root/shell/key-bindings.bash
diff options
context:
space:
mode:
authorChristoph Anton Mitterer <mail@christoph.anton.mitterer.name>2023-10-02 14:02:35 +0200
committerGitHub <noreply@github.com>2023-10-02 21:02:35 +0900
commite833823e15833122881a2cab333124c23fcc6ba5 (patch)
tree5163227691a7f0ae8f30788ff1e310736f0fb416 /shell/key-bindings.bash
parentee4ba104e722960376988e4e6971b5c5c271c643 (diff)
downloadfzf-e833823e15833122881a2cab333124c23fcc6ba5.tar.gz
[bash] Don’t print function definition when checking for existence (#3448)
When just checking whether a function is already defined or not, it’s not necessary to print out it’s definition (should it be defined). bash’s `declare` provides the `-F`-option (which implies `-f`), which should give a minor performance improvement Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Diffstat (limited to 'shell/key-bindings.bash')
0 files changed, 0 insertions, 0 deletions