Code Monkey home page Code Monkey logo

bash-abbrev-alias's People

Contributors

momo-lab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bash-abbrev-alias's Issues

bash-4.2 -"bash_execute_unix_command: cannot find keymap for command" error

Thanks for making this, I have been spoiled by fish shell abbr and wanted to try this on a bash shell environment I use.

After downloading and sourcing the plugin, however, every time I execute the abbrev-alias command, or press enter on a bare line, the shell prints an error before consuming the newline, resulting in additional prompts being printed. For example, in a clean shell:

bash-4.2$ bash --version
GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
bash-4.2$ 
bash-4.2$ 
bash-4.2$ 
bash-4.2$ source ~/config/abbrev-alias.plugin.bash 
bash-4.2$ 
bash: bash_execute_unix_command: cannot find keymap for command
bash-4.2$ 
bash-4.2$ 
bash: bash_execute_unix_command: cannot find keymap for command
bash-4.2$ 
bash-4.2$ abbrev-alias --help
bash: bash_execute_unix_command: cannot find keymap for command
bash-4.2$ abbrev-alias --help
abbrev-alias 0.1.0
usage: abbrev-alias [OPTIONS] {name=value ...}
       abbrev-alias -u {name ...}

options:
  -c, --command   register alias as 'alias name=value'
  -g, --global    register alias as 'alias -g name=value' like
  -e, --eval      evaluates subshells on expansion
  -u, --unset     unregister alias
  -h, --help      show this help
  -v, --version   show version
bash-4.2$ 

Before sourcing the plugin, newline behaves as normal, but after sourcing the errors start appearing, including when pressing enter after the command abbrev-alias --help.

Any thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.