Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[shell] replace perl with awk in key-bindings.zsh and include date or time if available #449

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jirutka
Copy link

@jirutka jirutka commented Apr 1, 2022

Unlike awk, which is even defined in POSIX, perl is not pre-installed on all *nix systems. This awk command is functionally equivalent to the original perl command.

If extended_history is enabled, the history widget will display:

 12  2022-04-02   echo "older command"
123  today 16:30  echo "today's command"

@jirutka jirutka changed the title [shell] replace perl with awk in key-bindings.zsh [shell] replace perl with awk in key-bindings.zsha Apr 2, 2022
@jirutka jirutka changed the title [shell] replace perl with awk in key-bindings.zsha [shell] replace perl with awk in key-bindings.zsh and include date or time if available Apr 2, 2022
@jirutka
Copy link
Author

jirutka commented Jul 18, 2022

FYI, skim package in Alpine Linux is already built with this patch, since Alpine v3.16.

Unlike awk, which is even defined in POSIX, perl is not pre-installed
on all *nix systems. This awk command is functionally equivalent to
the original perl command.
If extended_history is enabled, the history widget will display:

     12  2022-04-02   echo "older command"
    123  today'16:30  echo "today's command"
@jirutka
Copy link
Author

jirutka commented Jul 20, 2022

FYI: Analogous PR for fzf has been already merged (junegunn/fzf#2777).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant