aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc.d/grep.bash2
-rw-r--r--bash/bashrc.d/ls.bash2
2 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/grep.bash b/bash/bashrc.d/grep.bash
index a5a7ba28..c426ff2a 100644
--- a/bash/bashrc.d/grep.bash
+++ b/bash/bashrc.d/grep.bash
@@ -35,5 +35,5 @@ grepopts() {
alias grep="grep $(grepopts)"
# Unset helper function
-unset grepopts
+unset -f grepopts
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