- Minor text fix to README.md.

- Fix to enumeration of files in lackadaisical config folder.
This commit is contained in:
root 2025-11-21 15:49:28 +00:00
parent 6f8d3acc39
commit 8f9bdfbb30
2 changed files with 6 additions and 6 deletions

View file

@ -110,7 +110,7 @@ These are the included binaries and utilities:
Alias for directly sourcing this file from any
LACKADAISICAL binary. You may use this yourself.
- grab:
Alias for awk "'{print $x}'", where x is a number.
Alias for "awk '{print $x}'", where x is a number.
E.g. "echo 'a b c' | grab 2" returns 'b'.
- daisy_cbin:
Contains the name of the current LACKADAISICAL

View file

@ -53,8 +53,12 @@ then
NEW_INSTALL=1
fi
# Functions for aliases that are added once, but always available
daisy_aliasfile="$DAISY_CONFIG_FOLDER"/.daisy_aliases
touch $daisy_aliasfile
# Source everything in the config folder
for f in "$DAISY_CONFIG_FOLDER"/*; do
for f in "$DAISY_CONFIG_FOLDER"; do
[ -f "$file" ] && source "$f"
done
@ -277,10 +281,6 @@ function grab
awk '{print $'$1'}'
}
# Functions for aliases that are added once, but always available
daisy_aliasfile="$DAISY_CONFIG_FOLDER"/.daisy_aliases
touch $daisy_aliasfile
function daisy_unalias
{
unalias_param=$@