unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: How to package inputrc
@ 2020-07-13 17:26 Jesse Gibbons
  2020-07-13 18:30 ` Efraim Flashner
  0 siblings, 1 reply; 6+ messages in thread
From: Jesse Gibbons @ 2020-07-13 17:26 UTC (permalink / raw)
  To: guix-devel

> In order to achieve this more elegant I could write a simple service to
> copy the file to /etc. Another option would be a small package.

I like the service idea a lot better. It appears to me that Guix is designed for services to deal with the more customizable parts of the installation, whereas packages are standard. /etc/inputrc is one of those things each system admin would want to customize, just like most of the things in /etc.



^ permalink raw reply	[flat|nested] 6+ messages in thread
* How to package inputrc
@ 2020-07-12 22:01 Jonathan Brielmaier
  2020-07-13  1:17 ` Bengt Richter
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Brielmaier @ 2020-07-12 22:01 UTC (permalink / raw)
  To: Guix-devel

Hi folks,

an annoying thing for me in a default Guix installation is the lack of
an inputrc definition[0]. So while using the shell I miss going through
my bash history via "page up"/"page down" keys.

To tackle this issue I created a simple inputrc and copied to
`/etc/inputrc`:
```
# alternate mappings for "page up" and "page down" to search the history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
```

In order to achieve this more elegant I could write a simple service to
copy the file to /etc. Another option would be a small package.

I think other distros provide one in the default, basic installation:
ArchLinux[1], Debian[2] and openSUSE has even a longer one.

Are others missing that too? What do you think?

Good night
Jonathan

[0] https://wiki.archlinux.org/index.php/Readline
[1]
https://git.archlinux.org/svntogit/packages.git/plain/trunk/inputrc?h=packages/readline
[2] https://packages.debian.org/buster/all/readline-common/filelist


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-13 22:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-13 17:26 How to package inputrc Jesse Gibbons
2020-07-13 18:30 ` Efraim Flashner
2020-07-13 18:35   ` Efraim Flashner
2020-07-13 22:01     ` Marius Bakke
  -- strict thread matches above, loose matches on Subject: below --
2020-07-12 22:01 Jonathan Brielmaier
2020-07-13  1:17 ` Bengt Richter

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).