refactor(posix): remove function prefixes from all shell files

This commit is contained in:
brij
2022-08-18 15:10:58 +00:00
committed by AJ ONeal
parent 82af8b46a4
commit fdeefd7e75
132 changed files with 169 additions and 169 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
set -e
set -u
function __git_gpg_init() {
__git_gpg_init() {
export PATH="$HOME/.local/opt/gnupg/bin:$PATH"
export PATH="$HOME/.local/opt/gnupg/bin/pinentry-mac.app/Contents/MacOS:$PATH"
+3 -3
View File
@@ -2,7 +2,7 @@
set -e
set -u
function __install_git_gpg_init() {
__install_git_gpg_init() {
MY_CMD="git-config-gpg"
rm -f "$HOME/.local/bin/$MY_CMD"
@@ -10,7 +10,7 @@ function __install_git_gpg_init() {
chmod a+x "$HOME/.local/bin/$MY_CMD"
}
function __check_gpg_pubkey_exists() {
__check_gpg_pubkey_exists() {
if ! command -v gpg; then
"$HOME/.local/bin/webi" gpg-pubkey
export PATH="$HOME/.local/opt/gnupg/bin:$PATH"
@@ -18,7 +18,7 @@ function __check_gpg_pubkey_exists() {
fi
}
function __check_gpg_exists() {
__check_gpg_exists() {
if ! command -v gpg; then
"$HOME/.local/bin/webi" gpg
export PATH="$HOME/.local/opt/gnupg/bin:$PATH"