fix: Rename function to match command for counting files by extension
This commit is contained in:
1 parent
eb5b57345f
commit
60dda218d2
1 file changed
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
# Function to count files by extension in the current directory
|
# Function to count files by extension in the current directory
|
||||||
count_files_by_extension() {
|
count_by_ext() {
|
||||||
# Check if the current directory is valid
|
# Check if the current directory is valid
|
||||||
if [[ ! -d . ]]; then
|
if [[ ! -d . ]]; then
|
||||||
echo "Error: Current directory is invalid."
|
echo "Error: Current directory is invalid."
|
||||||
|
|||||||
Reference in new issue
Block a user