config/shell: little structural updates

This commit is contained in:
xerus2000 2021-03-30 18:09:04 +02:00
parent ff31ec56c4
commit 81f89e5397
2 changed files with 3 additions and 1 deletions

View File

@ -375,6 +375,8 @@ clean() {
highlight "e to delete empty folders" highlight "e to delete empty folders"
[[ $1 =~ "e" ]] && find -empty -type d -delete -print [[ $1 =~ "e" ]] && find -empty -type d -delete -print
nix-collect-garbage
} }
function zipdiff() { function zipdiff() {

View File

@ -4,7 +4,7 @@
# The standard command I execute daily is "p status", it updates all projects and shows their status. # The standard command I execute daily is "p status", it updates all projects and shows their status.
# Common root for all projects # Common root for all projects
projects_dir=${projects_dir:-$DATA/4-incubator/programming} projects_dir=${projects_dir:-$DATA/4-incubator/dev}
# The max depth to search for when listing projects. The actual depth is this value minus one, since it searches for ".git" folders at that depth. # The max depth to search for when listing projects. The actual depth is this value minus one, since it searches for ".git" folders at that depth.
projects_subfolder_level=4 projects_subfolder_level=4