Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the following function works on Alpine Linux, but failed and closed terminal windows on macOS (until I renamed it from `cp` to `cy`). I tested with both `cp` and `cp -r -i --` and as `cp ()` and `function cp ()`. cy () { if [[ -n $2 ]]; then cp -r -i -- "$1" "$2" else cp -r -i -- "$1" "$PWD" fi }
- Loading branch information