bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Word-skipping with alias-expand-line


From: Addison Brendtro
Subject: Word-skipping with alias-expand-line
Date: Thu, 2 Feb 2023 16:26:03 -0600

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -flto=auto -ffat-lto-objects -flto=auto
-ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -Wall
uname output: Linux apollo 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5
11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 5.1
Patch Level: 16
Release Status: release

Description/Repeat-by:
        Setting aliases like so:
                # arbitrary key
                bind '"\C-xa": alias-expand-line'
                
                # expand aliases with space
                bind '" ": "\C-v \C-xa"'

        Creates a FISH-like abbreviation system using aliases. For some
reason, though, typing a space before another word skips to the end of
that word. This does not happen when typing "\C-v \C-xa" manually.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]