[F] Fix modern-replace

This commit is contained in:
Azalea (on HyDEV-Daisy)
2022-09-21 21:48:03 -04:00
parent 6554380b8f
commit b9842f9890
+1 -1
View File
@@ -9,7 +9,7 @@ setopt appendhistory
modern-replace() {
orig_cmd="$1"
new_cmd="$2"
orig_cmd_with_args="${3:-$2}"
orig_cmd_with_args="${3:-$1}"
new_cmd_with_args="${4:-$2}"
if command -v "$new_cmd" &> /dev/null; then