From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27381 invoked from network); 2 Oct 2021 17:54:19 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Oct 2021 17:54:19 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1633197259; b=kEDtLyb2OLaOqf0bLA9FicuBRz5Y5zerNFVLCkg+xwxCwfBLxu4Fu375vwGtrYPjgtIQMsnzkk O6ybGnRbbwIrf+XVXyWFSwAeeCUz0zeH0bE2HhFy63q2BcwzB0Ldapx0MZU6rbh7boCZ37bMRQ c7GpgY8TQwxPWenxf8OQwS94TO6aLVmhJLs9WrebaHbFcphOH05VV5UFzTDst3XJA7gxlKgfbw F75dpvapvOxK85W5l7pSOGSneOBDBua5I6JbKUirReYzSPHc8MfHrYrwLBxg2Z1z84AMtlSZpW flheTQMW7/R4TUGvQ0KnUDF+S9qOK2819VURgHXwakGTdg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-il1-f180.google.com) smtp.remote-ip=209.85.166.180; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1633197259; bh=lwI5XE088FK3EuZhSIEoYYv7q4rmk3sTQ8VDKNiwzsY=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature:DKIM-Signature; b=VS0ZX0rTyMsiqxY5UY5lmdOZnaEIXqP/h33OT/fa/uuHvYfY58i8mTvRKHOJMWDhJ3Yd9hJT1q 1/CecDW3vwIr9N7f8j2lQbY39+CBbCn5TPSsWVk5UFrnf125BdFP2x3F/3dfvEME/NrP8VBbeC 5DM8X9S4n9QBF9hqUH71U0UFQKanlfA6bsdgRjO+KnyM2opKKfA2kL+XH8se7eFAq/4fMKiCfM Sg43j2UTmQIPJxyNnRo+Y038C/Iery+/JbUzhPM29d867nutNyg/mnVMQiuAxV9gTQHkbukf5B 5GrHah7upEbnpvCtqZox2rEc5CC7TchokothFI4c335TDA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:MIME-Version:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=eUSaiGm/hd45EvV6e3tgB0dq/CSAse3hr9X8nzySaYw=; b=ZBXP/t81wXRGUmhLmXGwq4CiMJ jUzwSDQpKme347ITDMKj3ALSw2CtxSIF9QFhup3KRHyz9ZLXicCCcCJ7NlV+65i6xcgMyzKz126hc duZvciIAC1kEKU6P7tW43VVs6TM60evTwwRSqtPYdPveTn7Zvg4EjLVDF+GVXm4d+wQnDZhI+PbP4 7Vjjw3ujHuv6G14HbqHu8UD2vBsix+JMnWjlm8jz7HqOo60xyw2MCfMNYrTZUXquUia1Efgk861Pl mmPCJlwzeiFWc5fYKKl9vQ4pEF29XRqJptRx283AQerLLd71X1KSmwPPOqPqp6qQEm+dvJdVabXu6 Y8OUlgkA==; Received: from authenticated user by zero.zsh.org with local id 1mWjDF-0005lk-78; Sat, 02 Oct 2021 17:54:17 +0000 Authentication-Results: zsh.org; iprev=pass (mail-il1-f180.google.com) smtp.remote-ip=209.85.166.180; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-il1-f180.google.com ([209.85.166.180]:41552) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mWjCK-000520-QV; Sat, 02 Oct 2021 17:53:21 +0000 Received: by mail-il1-f180.google.com with SMTP id d11so13965133ilc.8 for ; Sat, 02 Oct 2021 10:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=eUSaiGm/hd45EvV6e3tgB0dq/CSAse3hr9X8nzySaYw=; b=hNy2xxyQ8oIhxxGlFR/xIrdIfG9rkv6wPI+qvZId2MHinQaTkOmff7oKzP0Mc+Z3g2 yNeYNgpr952pNl8GkhWxIvcZPvuSUJ03BBpFB7K42hm7EHOxsGxS0Ywip2LdYKdwUJB7 mYQMiSHOAP8naK86EfYGfqIE+QuK51wLQYaJq1iF7hrcunRXiIpCtPNAj7ISblIklL3r ohxVOQRYsOOXEfiCTYEiFwmz6VRKI8GLhDwz0QBhlXt39y97CP78ebnzRsLjxSHJ4OW3 J35TMKfEtbyP/ciH3Asg73QFH0zgdnVrMjVHKqyKZ8YQKuH/GN5guN0YCzqNijDenwfn BU6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eUSaiGm/hd45EvV6e3tgB0dq/CSAse3hr9X8nzySaYw=; b=ivvP2GoHKez6HxafutQ9K5gI2mmYL0WA04uMJ4o8G+MGvHgIP/MJuddfrzKpGtQ8Ff 7SsSuwnsoC7mOwSmvGprKYlOCZmFBe+zyjwApipyvmSw/PdhB8KnEw9OFKrl0c+9rbt9 11rvugJVjE2S9TAVJOPysbVg8R2XpH3I0rwO2/eBJvLt6LxLU04btoEhClELaLMCJE75 Pbfr6AbWkUybTNBQD3Mu8kfdO3ig3pROGWagZDUhe5D2qlid8cgrrIJUA7STKk4QgKm6 NYDtCyo+nPZWFZANLprgZ4/42b1xQQXrcpHP/N7YiCO3fJ2S7aQGhTC2AxQFEYWCrZ+O cnVw== X-Gm-Message-State: AOAM531RNUKu2Eb8iARJ2sW6SYmTniJ8U3hd6n2UDI60t9J7Hn1OzlOj 3WyOLLkYMD2578VMmFSXEHd3/VeG7mQw4fBXHNaxv5HKgYA= X-Google-Smtp-Source: ABdhPJyAUGMcedS+GdONhflf909AO/neL5sxbulfvqqWYFQk8hm6WyvCEz+0WEy1quS7b9AqjotZ/cq5Es1Jb00t25U= X-Received: by 2002:a05:6e02:1bad:: with SMTP id n13mr3314746ili.142.1633197199189; Sat, 02 Oct 2021 10:53:19 -0700 (PDT) MIME-Version: 1.0 From: Pier Paolo Grassi Date: Sat, 2 Oct 2021 19:52:43 +0200 Message-ID: Subject: shared history file To: Zsh-Users List Content-Type: multipart/alternative; boundary="000000000000e7ecf305cd625ac6" X-Seq: 27214 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --000000000000e7ecf305cd625ac6 Content-Type: text/plain; charset="UTF-8" Hello, I was trying to implement a per project shell history file. Some of these projects are on windows shared mounted via cifs. when I open those files as history with fc -p I get: /root/.zshrc:440: locking failed for /mnt/docs/projects/devbox/.history: operation not supported: reading anyway zsh: locking failed for /mnt/docs/projects/devbox/.history: operation not supported: reading anyway Is it possible to work around this? is it possibile in zsh to disable locking the history file during write operations? I am the only one writing to those files so I shouldn't risk a concurrent operation. I tried using setopt HIST_FCNTL_LOCK but ended up with an emptied history file. Pier Paolo Grassi --000000000000e7ecf305cd625ac6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, I was trying to implement a per project shell histo= ry=C2=A0file.
Some of these projects are on windows shared mounted via = cifs. when I open those files as history with fc -p I get:

/root/.zshrc:440: locking failed for /mnt/docs/projects/devbox/.hi= story: operation not supported: reading anyway
zsh: locking failed for= =C2=A0 /mnt/docs/projects/devbox/.history: operation not supported: reading anyway=

Is it possible to work around this? is it possibi= le in zsh to disable locking the history file during write operations? I am= the only one writing to those files so I shouldn't risk a concurrent o= peration.
I tried=C2=A0using setopt HIST_FCNTL_LOCK but ended up = with an emptied=C2=A0history file.

Pier Paolo = Grassi
--000000000000e7ecf305cd625ac6--