aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/grep.bash6
-rw-r--r--bash/bashrc.d/ls.bash6
2 files changed, 6 insertions, 6 deletions
diff --git a/bash/bashrc.d/grep.bash b/bash/bashrc.d/grep.bash
index 440c8f70..a5a7ba28 100644
--- a/bash/bashrc.d/grep.bash
+++ b/bash/bashrc.d/grep.bash
@@ -1,5 +1,5 @@
# Function returns calculated options for grep
-__grepopts() {
+grepopts() {
# Declare options array
local -a grepopts
@@ -32,8 +32,8 @@ __grepopts() {
}
# Alias grep with those options
-alias grep="grep $(__grepopts)"
+alias grep="grep $(grepopts)"
# Unset helper function
-unset __grepopts
+unset grepopts
diff --git a/bash/bashrc.d/ls.bash b/bash/bashrc.d/ls.bash
index 5ae31fea..57e6dc73 100644
--- a/bash/bashrc.d/ls.bash
+++ b/bash/bashrc.d/ls.bash
@@ -1,5 +1,5 @@
# Function returns calculated options for ls
-__lsopts() {
+lsopts() {
# Declare options array
local -a lsopts
@@ -19,10 +19,10 @@ __lsopts() {
}
# Alias ls with these options
-alias ls="ls $(__lsopts)"
+alias ls="ls $(lsopts)"
# Unset helper function
-unset __lsopts
+unset lsopts
# Define and store appropriate colors for ls
if hash dircolors 2>/dev/null; then