Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBZ System Tools

Small Linux command-line tools for everyday system workflows.

Requirements

  • Bash
  • Zsh
  • kubectl
  • tmux

The installer validates these commands but does not install them.

Kubernetes

The Kubernetes wrappers call kubectl directly and work with a KUBECONFIG composed of multiple files.

k8ctx

List contexts:

k8ctx

Switch context:

k8ctx staging-cluster

k8ns

List namespaces in the current context:

k8ns

Set the namespace for the current context:

k8ns music

Tmux

Create or attach to the default main session:

tm

Create or attach to a named session:

tm music

The included Zsh completion lists running tmux sessions.

Install

./install.sh

The installer creates command symlinks in ~/.local/bin and a Zsh completion symlink in ~/.local/share/zsh/site-functions. It refuses to overwrite an unexpected file or symlink.

Make sure the completion directory is in your Zsh fpath before compinit:

fpath=("$HOME/.local/share/zsh/site-functions" $fpath)
autoload -Uz compinit
compinit

License

MIT

About

Small Linux command-line tools for everyday system workflows.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages