Skip to content

[Bug report] abbr_init on OpenBSD #168

@lebel

Description

@lebel

Is there an existing issue for this?

  • I have searched the existing issues

Update the issue title

  • I have updated the title

Expected Behavior

No "errors" when I log on my shell.

Actual Behavior

I get the following when loading the zsh-abbr.zsh module:

+/home/lebel/.zim/modules/zsh-abbr/zsh-abbr.zsh:1887> _abbr_init
+_abbr_init:1> emulate -LR zsh
head: unknown option -- c
usage: head [-count | -n count] [file ...]

on OpenBSD 7.6.

The abbr command still works just fine, it is only displaying this when I log on my account. To catch the log I added a

exec 2>trace.log
set -x

at the top of my .zshrc.

Steps To Reproduce

No response

Environment

OpenBSD 7.6 with Zsh 5.9 with pkg_add.

Installation method

Plugin manager

Installation method details

Using zimfw.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions