mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-04-03 22:45:25 +02:00
STYLE: Add parens to func names
In accordance to code style guide
This commit is contained in:
parent
5e966203ae
commit
03e568ad81
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ unset _ssh_configfile
|
||||||
############################################################
|
############################################################
|
||||||
# Remove host key from known hosts based on a host section
|
# Remove host key from known hosts based on a host section
|
||||||
# name from .ssh/config
|
# name from .ssh/config
|
||||||
function ssh_rmhkey {
|
function ssh_rmhkey() {
|
||||||
local ssh_configfile="$HOME/.ssh/config"
|
local ssh_configfile="$HOME/.ssh/config"
|
||||||
local ssh_host="$1"
|
local ssh_host="$1"
|
||||||
if [[ -z "$ssh_host" ]]; then return; fi
|
if [[ -z "$ssh_host" ]]; then return; fi
|
||||||
|
@ -42,7 +42,7 @@ function ssh_load_key() {
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
# Remove SSH key from agent
|
# Remove SSH key from agent
|
||||||
function ssh_unload_key {
|
function ssh_unload_key() {
|
||||||
local key="$1"
|
local key="$1"
|
||||||
if [[ -z "$key" ]]; then return; fi
|
if [[ -z "$key" ]]; then return; fi
|
||||||
local keyfile="$HOME/.ssh/$key"
|
local keyfile="$HOME/.ssh/$key"
|
||||||
|
@ -54,7 +54,7 @@ function ssh_unload_key {
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
# Calculate SSH key fingerprint
|
# Calculate SSH key fingerprint
|
||||||
function ssh_fingerprint {
|
function ssh_fingerprint() {
|
||||||
local fptype
|
local fptype
|
||||||
local quiet
|
local quiet
|
||||||
local ansi
|
local ansi
|
||||||
|
|
Loading…
Add table
Reference in a new issue