STYLE: Add parens to func names

In accordance to code style guide
This commit is contained in:
Pandu POLUAN 2025-02-28 11:39:07 +07:00
parent 5e966203ae
commit 03e568ad81
1 changed files with 3 additions and 3 deletions

View File

@ -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