aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/shrc.d/ls.sh12
1 files changed, 4 insertions, 8 deletions
diff --git a/sh/shrc.d/ls.sh b/sh/shrc.d/ls.sh
index 40da567a..11ab15b4 100644
--- a/sh/shrc.d/ls.sh
+++ b/sh/shrc.d/ls.sh
@@ -5,14 +5,10 @@
# Define function proper
ls() {
- # Add -F to show trailing indicators of the filetype
- set -- -F "$@"
-
- # Add -q to replace control chars with '?'
- set -- -q "$@"
-
- # Format with entries sorted across, not down, in columns
- set -- -x "$@"
+ # -F to show trailing indicators of the filetype
+ # -q to replace control chars with '?'
+ # -x to format entries across, not down
+ set -- -Fqx "$@"
# Add --block-size=K to always show the filesize in kibibytes
[ -e "$HOME"/.cache/ls/block-size ] &&