systemSetup

system setup, configuration and dotfiles
git clone https://noulin.net/git/systemSetup.git
Log | Files | Refs | README | LICENSE

commit ce4343aa017aa9522114800ada0c2fddea345f2f
parent 20cefd4e701fa693380f9f55fb693b55594c0353
Author: Remy Noulin <loader2x@gmail.com>
Date:   Thu, 12 Jun 2025 09:58:34 +0200

remove heure in .bash_aliases and cast count to u32 in showMyHistory

dotfiles/.bash_aliases   | 1 -
dotfiles/showMyHistory.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)

Diffstat:
Mdotfiles/.bash_aliases | 1-
Mdotfiles/showMyHistory.c | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases @@ -31,7 +31,6 @@ alias vn='vim `git ls-files|pick`' alias c='source ~/bin/c.sh' alias pl='~/bin/pl.sh' alias scim=sc-im -alias heure="tty-clock -sxcC 1 -d 0 -a 100000000" alias p="jobs" alias cx="chmod 755" diff --git a/dotfiles/showMyHistory.c b/dotfiles/showMyHistory.c @@ -54,7 +54,7 @@ int main(int ARGC, char** ARGV) { char *res = bEllipsisStartS(ellip /*dest*/, getG(a, rtChar, 0)/*path string*/, max /*targetLen*/, "]"/*ellipsisString*/); char *path = ellipsis ? ellip : getG(a, rtChar, 0); if (exitCode) { - printf("%*d "RED"%3d"RST" %s "YLW"%*s"RST" "RED"%s"RST"\n", countLen, count, exitCode, /*date*/getG(a, rtChar, 2), max, path, /*cmd*/getG(a, rtChar, 3)); + printf("%*d "RED"%3d"RST" %s "YLW"%*s"RST" "RED"%s"RST"\n", countLen, (u32)count, exitCode, /*date*/getG(a, rtChar, 2), max, path, /*cmd*/getG(a, rtChar, 3)); } else { printf("%*d "GRN"%3d"RST" %s "YLW"%*s"RST" %s\n", countLen, (u32)count, exitCode, /*date*/getG(a, rtChar, 2), max, path, /*cmd*/getG(a, rtChar, 3));