- Minor text fix to README.md.
- Fix to enumeration of files in lackadaisical config folder.
This commit is contained in:
parent
6f8d3acc39
commit
8f9bdfbb30
2 changed files with 6 additions and 6 deletions
|
|
@ -110,7 +110,7 @@ These are the included binaries and utilities:
|
||||||
Alias for directly sourcing this file from any
|
Alias for directly sourcing this file from any
|
||||||
LACKADAISICAL binary. You may use this yourself.
|
LACKADAISICAL binary. You may use this yourself.
|
||||||
- grab:
|
- 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'.
|
E.g. "echo 'a b c' | grab 2" returns 'b'.
|
||||||
- daisy_cbin:
|
- daisy_cbin:
|
||||||
Contains the name of the current LACKADAISICAL
|
Contains the name of the current LACKADAISICAL
|
||||||
|
|
|
||||||
10
daisy.source
10
daisy.source
|
|
@ -53,8 +53,12 @@ then
|
||||||
NEW_INSTALL=1
|
NEW_INSTALL=1
|
||||||
fi
|
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
|
# Source everything in the config folder
|
||||||
for f in "$DAISY_CONFIG_FOLDER"/*; do
|
for f in "$DAISY_CONFIG_FOLDER"; do
|
||||||
[ -f "$file" ] && source "$f"
|
[ -f "$file" ] && source "$f"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
@ -277,10 +281,6 @@ function grab
|
||||||
awk '{print $'$1'}'
|
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
|
function daisy_unalias
|
||||||
{
|
{
|
||||||
unalias_param=$@
|
unalias_param=$@
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue