1
0
Fork 0

Update .bash_aliases

main
Marissa Staib 5 years ago committed by GitHub
parent 05b6de6494
commit 5d7afce571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .bash_aliases

@ -43,6 +43,15 @@ function bashreload()
source "$HOME"/.bashrc
}
# from https://stackoverflow.com/a/1203628
# Useful for overriding functions defined in these common scripts
# Usage: copy_func from to
function copy_func()
{
declare -F $1 > /dev/null || return 1
eval "$(echo "${2}()"; declare -f ${1} | tail -n +2)"
}
function scriptupdate()
{
(

Loading…
Cancel
Save