Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69878 - [grc] don't enable those aliases by default

Attached to Project: Community Packages
Opened by lilydjwg (lilydjwg) - Thursday, 04 March 2021, 04:22 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Filipe LaĆ­ns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

An recent update for grc enables wrappers for various tools. This has several issues:

* mtr has wrong terminal size: https://github.com/garabik/grc/issues/72 and doesn't response to keys, and make the terminal behave weirdly
* journalctl doesn't call pager automatically
* nonexistent commands now have unusable aliases (this interferes with shell functionalities like highlighting and completion)
* coloring may not be wanted. The user may only want colors for some commands and occasions.
* it may be slow to colorify on certain circumstances

Arch Linux has the impression that if a behavior is only wanted by some users, they are disabled by default and need to be explicitly enabled by the user. I install grc only to colorify some commands, not all of them.

Additional info:
* package version(s) grc 1.12-1
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:02 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/grc/issues/1
Comment by Doug Newgard (Scimmia) - Thursday, 04 March 2021, 04:37 GMT
That they weren't there in the previous package was actually a bug fixed upstream. This is behaving as expected.
Comment by Francesco Minnocci (BachoSeven) - Monday, 08 March 2021, 13:18 GMT
Since the file `/etc/profile.d/grc.sh` is sourced automatically by `/etc/profile` for any login shell, wouldn't it make more sense to move it to `/etc/grc.sh` instead? This way, users could source their shell's specific file (i.e. `/etc/grc.{sh,zsh,fish}`).

I know this is the default behaviour from upstream, but I think adopting this solution downstream would be more shell-agnostic, and allow users to decide which commands to alias without having the hardcoded aliases in `/etc/profile.d/grg.sh`.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...