diff --git a/default/home/.sapphrc/default b/default/home/.sapphrc/default index ef77935..d5d4d66 100755 --- a/default/home/.sapphrc/default +++ b/default/home/.sapphrc/default @@ -44,6 +44,14 @@ devpod(){ simplewebserver(){ screen python3 -m http.server } +filecount(){ + [[ -z ${1} ]] && fc_targetdir=$(pwd) || fc_targetdir="${1}" + find "${fc_targetdir}" -type f | wc -l +} +filecount-monitor(){ + [[ -z ${1} ]] && fc_targetdir=$(pwd) || fc_targetdir="${1}" + watch "find ${fc_targetdir} -type f | wc -l" +} #alias devbox-stable="TERM=xterm-256color toolbox enter debian-toolbox-12" #alias devbox-testing="TERM=xterm-256color toolbox enter debian-toolbox-testing" #git shortcut to quickly push all changes with comment