mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 08:37:14 -04:00
Removed broken space replacer
This commit is contained in:
@@ -6,7 +6,6 @@ _path_gen() {
|
|||||||
mapfile -t full_paths < <(find "$sshyp_path" -type f -exec ls {} \;)
|
mapfile -t full_paths < <(find "$sshyp_path" -type f -exec ls {} \;)
|
||||||
for path in "${full_paths[@]}"; do
|
for path in "${full_paths[@]}"; do
|
||||||
trimmed_path=$(echo ${path%????} | cut -c"$sshyp_path_length"-)
|
trimmed_path=$(echo ${path%????} | cut -c"$sshyp_path_length"-)
|
||||||
trimmed_path=$(echo ${trimmed_path// /\\ })
|
|
||||||
trimmed_paths+=("$trimmed_path")
|
trimmed_paths+=("$trimmed_path")
|
||||||
done
|
done
|
||||||
} &&
|
} &&
|
||||||
|
|||||||
Reference in New Issue
Block a user