os

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

package os contains operating system related actions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionCgroups

func ActionCgroups() carapace.Action

ActionCgroups completes cgroup names

blkio
cpu

func ActionDisplays

func ActionDisplays() carapace.Action

ActionDisplays completes x displays

:0
:1

func ActionEnvironmentVariables

func ActionEnvironmentVariables() carapace.Action

ActionEnvironmentVariables completes environment values

SHELL (/bin/elvish)
LANG (en_US.utf8)

func ActionFontFamilies

func ActionFontFamilies() carapace.Action

ActionFontFamilies completes font family names

MesloLGSDZ Nerd Font
Nimbus Sans

func ActionGpgKeyIds

func ActionGpgKeyIds() carapace.Action

ActionGpgKeyIds completes GPG key ids

ABCDEF1234567890 (some GPG key)
ABCDEF1234567891 (another GPG key)

func ActionGroupMembers

func ActionGroupMembers(group string) carapace.Action

ActionGroupMembers completes system group members

root
daemon

func ActionGroups

func ActionGroups() carapace.Action

ActionGroups completes system group names

root (0)
ssh (101)

func ActionKernelModules

func ActionKernelModules(opts KernelModulesOpts) carapace.Action

ActionKernelModules completes kernel modules

ac97_bus
crc32c_intel

func ActionKernelModulesLoaded

func ActionKernelModulesLoaded() carapace.Action

ActionKernelModulesLoaded completes currently loaded kernel modules

ac97_bus
crc32c_intel

func ActionKernelReleases

func ActionKernelReleases(basedir string) carapace.Action

ActionKernelReleases completes kernel releases

5.10.79-1-MANJARO
5.4.159-1-MANJARO

func ActionLanguages

func ActionLanguages() carapace.Action

ActionLanguages completes languages

av (Avaric)
da (Danish)

func ActionLocales

func ActionLocales() carapace.Action

ActionLocales completes locales

en_GB (English (United Kingdom))
en_US (English (United States))

func ActionMouseButtons

func ActionMouseButtons() carapace.Action

ActionMouseButtons completes mouse button ids

1 (left mouse)
2 (middle mouse)

func ActionScreens

func ActionScreens(connected bool) carapace.Action

ActionScreens completes sreens

eDP1
HDMI1

func ActionSessionIds

func ActionSessionIds() carapace.Action

ActionSessionIds completes session ids

0 (root)
1 (root)

func ActionShells

func ActionShells() carapace.Action

ActionShells completes available terminal shells

/bin/elvish
/bin/bash

func ActionSoundCards

func ActionSoundCards() carapace.Action

ActionSoundCards completes sound cards

0 (HDMI)
PCH (1)

func ActionTerminals

func ActionTerminals() carapace.Action

ActionTerminals completes terminals

pts/5 (user)
tty7 (root)

func ActionUserGroup

func ActionUserGroup() carapace.Action

ActionUserGroup completes system user:group separately

bin:audio
lp:list

func ActionUsers

func ActionUsers() carapace.Action

ActionUsers completes system user names

root (0)
daemon (1)

Types

type KernelModulesOpts

type KernelModulesOpts struct {
	Basedir string
	Release string
}

Directories

Path Synopsis
package usb contains usb related actions
package usb contains usb related actions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL