diff --git a/bash_aliases.sh b/bash_aliases.sh index c89f812..bc107f2 100644 --- a/bash_aliases.sh +++ b/bash_aliases.sh @@ -54,9 +54,8 @@ function copy_func() eval "$(echo "${2}()"; declare -f ${1} | tail -n +2)" } -function bashreload() +function sync_git_only() { - reload_scripts_only ( cd "$( dirname "$(realpath -e "${BASH_SOURCE[0]}")" )" needs_push=false @@ -71,6 +70,15 @@ function bashreload() ) } +alias ssh-keygen=ssh-keygen -o -a 100 -t ed25519 + +function bashreload() +{ + reload_scripts_only + sync_git_only + reload_scripts_only +} + function man () { command man "$@" 2>/dev/null || builtin help -m "$@" 2>/dev/null || command man "$@"