mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-10-27 12:40:02 -04:00
Removed broken space replacer
This commit is contained in:
1 parent
1975424886
commit
3cda23ad3d
1 file changed
-1
@@ -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