From 03e568ad81614dac4aa9acfb347cce9861e7fdfe Mon Sep 17 00:00:00 2001 From: Pandu POLUAN Date: Fri, 28 Feb 2025 11:39:07 +0700 Subject: [PATCH] STYLE: Add parens to func names In accordance to code style guide --- plugins/ssh/ssh.plugin.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/ssh/ssh.plugin.zsh b/plugins/ssh/ssh.plugin.zsh index f837c8e94..48cc85021 100644 --- a/plugins/ssh/ssh.plugin.zsh +++ b/plugins/ssh/ssh.plugin.zsh @@ -20,7 +20,7 @@ unset _ssh_configfile ############################################################ # Remove host key from known hosts based on a host section # name from .ssh/config -function ssh_rmhkey { +function ssh_rmhkey() { local ssh_configfile="$HOME/.ssh/config" local ssh_host="$1" if [[ -z "$ssh_host" ]]; then return; fi @@ -42,7 +42,7 @@ function ssh_load_key() { ############################################################ # Remove SSH key from agent -function ssh_unload_key { +function ssh_unload_key() { local key="$1" if [[ -z "$key" ]]; then return; fi local keyfile="$HOME/.ssh/$key" @@ -54,7 +54,7 @@ function ssh_unload_key { ############################################################ # Calculate SSH key fingerprint -function ssh_fingerprint { +function ssh_fingerprint() { local fptype local quiet local ansi