dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit e1f52cb57f1f1cefdfd194617fa7b037ddbb5413
parent 95b29b63b5903a5680e5e65b553439a42eeaaa4c
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Thu, 25 Jul 2019 12:51:29 +0200

shell: alias to count number of files

Former-commit-id: 77fa9fc22a9e8241fdf0169e8b73ef04859a068e
Diffstat:
Mshell/commonprofile | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/shell/commonprofile b/shell/commonprofile @@ -118,6 +118,7 @@ alias wheredef='type -a' # Where is a fun alias lsblk="lsblk -o NAME,LABEL,PARTLABEL,TYPE,FSTYPE,SIZE,MOUNTPOINT,STATE" alias rmcolors="sed \"s,\x1B\[[0-9;]*[a-zA-Z],,g\"" # Remove ANSI color codes from text alias bc="bc -ql" # Preferred 'bc' implementation +alias nfiles="expr `ls -l | wc -l ` - 1" # Count the number of files in the directory # }}} # Aliases (Mac UI) {{{