Skip to content

Instantly share code, notes, and snippets.

@wyatt8740
Created June 10, 2021 18:29
Show Gist options
  • Save wyatt8740/86c0c1d609a2ba62b24b84d09297b373 to your computer and use it in GitHub Desktop.
Save wyatt8740/86c0c1d609a2ba62b24b84d09297b373 to your computer and use it in GitHub Desktop.
make android ls stop escaping things
ls() {
# only way I can stop ls from escaping with backslashes
if [ -t 1 ]; then
/system/bin/ls -C $@ |cat
else
/system/bin/ls $@ |cat
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment