diff --git a/stow/shell/.config/bash/functions b/stow/shell/.config/bash/functions index f1f6cc1..a7e6ecf 100644 --- a/stow/shell/.config/bash/functions +++ b/stow/shell/.config/bash/functions @@ -160,7 +160,7 @@ function tre() { # `git-sync` is a wrapper function around `find`, `xargs` that will # asynchrounously call git pull --rebase --autostash on any repository one level # down from the specified path. -function git-sync { +function git-sync() { local path="." if [[ $# -ne 0 ]]; then path="${1}" @@ -172,7 +172,7 @@ function git-sync { # `git-fetch` is a wrapper function around `find`, `xargs` that will # asynchrounously call --all --prune --prune-tags --quiet on any repository one level # down from the specified path. -function git-fetch { +function git-fetch() { local path="." if [[ $# -ne 0 ]]; then path="${1}" @@ -184,7 +184,7 @@ function git-fetch { # `handle-secrets` is a wrapper function around `gitleaks` and allows you to # interactively go through any finding gitleaks detects in the supplied folder # and put them into a `.gitleaksignore` file with appropriate comments -function handle-secrets { +function handle-secrets() { local target_directory report_directory report_file git_name git_email git_user ignore_file_contents current_time description rule file fingerprint commit secret comment documented_as target_directory=$(realpath --canonicalize-missing "${1}")