CDIST-TYPE__SENSIBLE_EDITOR(7)
π cdist-type__sensible_editor π
ok so bestie, welcome to the cdist-type__sensible_editor page β it's a cdist type, manual section 7, and it's literally here to pick your sensible-editor for you. iconic behavior, honestly. π
β¨ NAME β¨
cdist-type__sensible_editor β bestie's lil helper for selecting the sensible-editor π
πΈ DESCRIPTION πΈ
So, like β this cdist type lets you select the sensible-editor for a given user. That's it. That's the whole vibe. No cap. β¨
π REQUIRED PARAMETERS π
editorβ the name or path of the editor you want selected. okay so here's the tea: on systems that are not Debian derivatives, an absolute path is required. no shortcuts, bestie. π«Ά Also, it's totally permissible to omit this parameter if--stateis absent. iykyk.
π OPTIONAL PARAMETERS π
stateβ can be'present','absent', or'exists'. Defaults to'present'. Here's the breakdown, bestie:
π the state lore
presentβ thesensible-editoris exactly what's specified in--editor. like, no notes. periodt.absentβ nosensible-editorconfiguration is present at all. it's giving minimalist. πexistsβ thesensible-editorwill be set to what's specified in--editor, unless there already is a configuration on the target system. so it only steps in if nobody's home yet. π¦
β EXAMPLES β
ok look at these, they're so clean:
__sensible_editor root --editor /bin/ed # ed(1) is the standard
__sensible_editor noob --editor nano
not theed(1)being the standard π it's giving ancient but valid, bestie. andnanofornoob?? the naming, the commitment, we love to see it ππ
π§ LIMITATIONS π§
ngl, this type is dependent on the sensible-editor(1) script, which is part of the sensible-utils package. so if you don't have that, we can't do the thing. π
Therefore, the following operating systems are supported:
- Debian 8 (jessie) or later
- Devuan
- Ubuntu 8.10 (intrepid) or later
- RHEL/CentOS 7 or later (EPEL repo required)
- Fedora 21 or later
Note: on old versions of Ubuntu thesensible-*utils are part of thedebianutilspackage. so like, check before you panic. β¨
π SEE ALSO π
go read those too, bestie, they're the whole supporting cast. π«Ά
π§ AUTHOR π§
Dennis Camera <dennis.camera--@--ssrq-sds-fds.ch>
shoutout to Dennis, main character energy fr fr π
π COPYING π
Copyright (C) 2019 Dennis Camera. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. slay, legally speaking. βοΈπ
π COPYRIGHT π
ungleich GmbH 2021
and that's the whole page, bestie!! this was cdist manual, version 7.0.0, dated Jul 31, 2022 β mwah, go forth and pick your editor π
β¨ππ¦
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms