-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feat) added bat to software (refactor) moved around some code (feat) new command compare-dir feat(software): Added software glint and update gc commad to detect if glint is installed
- Loading branch information
1 parent
b96bda3
commit b97ed6e
Showing
6 changed files
with
83 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -- file | ||
_debug " -- Loading ${(%):-%N}" | ||
help_files[cron]="Commands working with files in Linux" # Help file description | ||
typeset -gA help_file # Init help array. | ||
|
||
function compare-dirs () { | ||
local DIR1=$1 | ||
local DIR2=$2 | ||
|
||
if [[ ! -d "$DIR1" || ! -d "$DIR2" ]]; then | ||
echo "Usage: compare-dirs <dir1> <dir2>" | ||
return 1 | ||
fi | ||
|
||
diff -rq "$DIR1" "$DIR2" | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.8.1 | ||
2.8.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters