dotfiles

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

commit d719fe15d81c37cb5d6a04fbda33eabd0f1f4e55
parent 3aa458102cfacc2d17990ce30f002db913d1e718
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Tue, 11 Dec 2018 19:58:00 +0100

Fixed hr function in commonprofile


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

diff --git a/shell/commonprofile b/shell/commonprofile @@ -142,6 +142,7 @@ procinfo() { ps aux | grep "$1"; } # Ge rmempty() { find "${1-.}" -type d -empty -depth -delete; } # Remove empty directories todos() { if [ -z "$1" ]; then 1="."; fi; grep -rnw "$1" -e "TODO"; } # Find TODO comments find_in_files() { grep -rnw "$1" -e "$2"; } # Search for text in files +hr() { for i in {1..$COLUMNS}; do echo -n "#"; done; echo; } # Pip3 upgrade packages pip3-upgrade() { pip3 list --outdated | cut -d ' ' -f1 | xargs -n1 pip3 install -U; }