config/shell: little structural updates
This commit is contained in:
parent
ff31ec56c4
commit
81f89e5397
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue