aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/ls.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/ls.bash')
-rw-r--r--bash/bashrc.d/ls.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/ls.bash b/bash/bashrc.d/ls.bash
index 57e6dc73..e74d48d8 100644
--- a/bash/bashrc.d/ls.bash
+++ b/bash/bashrc.d/ls.bash
@@ -22,7 +22,7 @@ lsopts() {
alias ls="ls $(lsopts)"
# Unset helper function
-unset lsopts
+unset -f lsopts
# Define and store appropriate colors for ls
if hash dircolors 2>/dev/null; then