Re: PS1 \# doesn't take into account HISTIGNORE and HISTCONTROL

2016-06-02 Thread Carlos Morata
when you hit HISTCONTROL or HISTIGNORE and that doesn't get well with the principle of least surprise. I prefer to enter just "!-3:2" than "!4563:2", cause I think is way more intuitive. Cheers El 02/06/16 a las 16:34, Chet Ramey escribió: On 6/2/16 6:38 AM, Carlos Mor

PS1 \# doesn't take into account HISTIGNORE and HISTCONTROL

2016-06-02 Thread Carlos Morata
Hi, I'm using Fedora 22 and 4.3.42(1)-release. The issue is that \# prompt variable doesn't take into account the value of HISTIGNORE and HISTCONTROL. Steps to reproduce (* when wrong) == $bash --norc bash-4.3$ PS1="C:\#>" C:2>HISTIGNORE="history *" C:3>HISTCONTROL=ignoredups

[no subject]

2016-03-07 Thread Carlos Morata
subscribe git -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[systemd-devel] [TOOL] Check-undocumented arguments and bash autocompletions

2015-01-11 Thread Carlos Morata Castillo
-- #!/bin/bash # This file is part of systemd. # # Copyright 2015 Carlos Morata Castillo cmc...@inlumine.ual.es # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either

[systemd-devel] [PATCH 1/2] systemd-helpers

2015-01-10 Thread Carlos Morata Castillo
000..51ee556 --- /dev/null +++ b/shell-completion/bash/systemd-helpers @@ -0,0 +1,83 @@ +# systemd-helpers completion -*- shell-script -*- +# +# This file is part of systemd. +# +# Copyright 2015 Carlos Morata Castillo cmc...@inlumine.ual.es +# +# systemd is free

[systemd-devel] [PATCH 2/2] Use local -A OPTS in all bash autocompletions

2015-01-10 Thread Carlos Morata Castillo
Hi, For homogenisation, we should use an associative array in all the bash autocompletion scripts, thus when someone added new options should type them into the correct type. My intention is to make bash script completions homogeneous in order to maintain them more efficiently. PD: Sorry

[systemd-devel] Fw: [PATCH 1/2] systemd-helpers

2015-01-10 Thread Carlos Morata Castillo
Hi, El Sat, 10 Jan 2015 14:28:26 -0500 Dave Reisner escribió: On Sat, Jan 10, 2015 at 01:33:05PM +0100, Carlos Morata Castillo wrote: Hi, As stated here, we should use a library for bash autocompletions (maybe even with include guards). http://cgit.freedesktop.org/systemd/systemd/commit

[systemd-devel] Autocompletion by default in containers and typo on systemctl.in

2015-01-09 Thread Carlos Morata Castillo
Hi, 1- It'll be nice if when you nspawn a container it'll have autocompletion enabled by default. Just need to execute this line: . /usr/share/bash-completion/bash_completion 2- Rename shell-completion/bash/systemctl.in to systemctl in repo and update Makefile.am properly. (This file is

[systemd-devel] [PATCH] Updates in bash autocompletions

2015-01-09 Thread Carlos Morata Castillo
Hi, I did ./check-undocumented.sh -b (my script just submitted) and checked the results. Cheers. --- shell-completion/bash/coredumpctl | 2 +- shell-completion/bash/hostnamectl | 2 +- shell-completion/bash/journalctl | 11 ++- shell-completion/bash/localectl | 2

[systemd-devel] [TOOL] Check-undocumented arguments and bash autocompletions

2015-01-09 Thread Carlos Morata Castillo
Hi, I've been working in this tool today for the tools dir: ./check-undocumented.sh -m #Uncompleted MANPAGES #

[systemd-devel] Fw: [PATCH] systemd-nspawn bash autocompletion

2015-01-08 Thread Carlos Morata Castillo
Sent attached. El Thu, 8 Jan 2015 21:40:07 +0100 Carlos Morata Castillo escribió: Hi, *Autocompletion for dirs, doesn't leave until you press space. *Added tmpfs, volatile and network-macvlan options. I tried with the SELinux options with seinfo(setools-console), but too messy to get

Re: What's the issue with lgi.Gtk?

2013-11-25 Thread Carlos Morata
it with: https://github.com/pavouk/lgi/blob/master/samples/gtkhello.lua and commented Gtk.main() out in the last line . what kind of error messages are you getting ? On 11/23/2013 08:56 PM, Carlos Morata Castillo wrote: Hi to everyone and congratulations for your awesome work. :) I have this file

What's the issue with lgi.Gtk?

2013-11-23 Thread Carlos Morata Castillo
Hi to everyone and congratulations for your awesome work. :) I have this file: gtk.lua= local lgi = require 'lgi' local GObject = lgi.GObject local Gtk = lgi.Gtk I try this on a shell: bash# echo dofile('gtk.lua') | awesome-client And my system is