Debian Codegraph @

cleaners/zsh.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 SPDX-License-Identifier: GPL-3.0-or-later
5 Copyright (c) 2008-2026 Andrew Ziem.
6
7 This work is licensed under the terms of the GNU GPL, version 3 or
8 later. See the COPYING file in the top-level directory.
9
10 macOS Tahoe (26)
11 zsh 5.9 (arm64-apple-darwin25.0)
12 has ~/.zsh_history
13 has ~/.zsh_sessions : macOS specific feature
14
15 Ubuntu Resolution Racoon (26.04 LTS)
16 zsh 5.9 (x86_64-ubuntu-linux-gnu)
17 has ~/.zsh_history
18 does not have ~/.zsh_sessions
19
20 The name (proper noun) is written usually "Zsh" and "Z shell,"
21 "ZSH," and "Z SHELL." Even when not referring to the command, it may
22 be lowercase "zsh.""
23 https://www.zsh.org/
24
25 -->
26 <cleaner id="zsh" os="unix">
27 <label>Zsh</label>
28 <description>Shell</description>
29 <option id="history">
30 <label>History</label>
31 <description>Delete the command history</description>
32 <action command="delete" search="file" path="~/.zsh_history"/>
33 </option>
34 <option id="session" os="macos">
35 <label>Session</label>
36 <description>Delete the files</description>
37 <action command="delete" search="walk.all" path="~/.zsh_sessions/"/>
38 </option>
39 </cleaner>