Skip to content

Shell Tools

Manjikaze includes a variety of shell tools and utilities to enhance your command-line productivity.

Zsh and Oh My Zsh

Manjikaze uses Zsh as the default shell, enhanced with the Oh My Zsh framework to provide a rich command-line experience.

Oh My Zsh Theme

Manjikaze uses the Agnoster theme, which provides:

  • Git status information directly in your prompt
  • Visual indicators for command success/failure
  • Directory path with intelligent truncation
  • Special symbols for superuser and virtual environment status

Enabled Oh My Zsh Plugins

Manjikaze comes with several useful Oh My Zsh plugins pre-configured:

PluginDescription
archlinuxProvides aliases for common Arch Linux commands like package management
awsAWS CLI completion and prompt integration
dockerDocker command completion and shortcuts
docker-composeCompletion and shortcuts for Docker Compose
gitComprehensive Git aliases and functions
git-flowCompletion and shortcuts for Git Flow workflow
zoxideSmarter directory navigation that learns your habits

Docker Compose Plugin

The Docker Compose plugin provides helpful aliases to streamline your workflow:

AliasCommandDescription
dcodocker-composeDocker Compose shorthand
dcbdocker-compose buildBuild containers
dcedocker-compose execExecute command in a container
dcpsdocker-compose psList containers
dcrdocker-compose runRun a command in a new container
dcupdocker-compose upCreate and start containers
dcdowndocker-compose downStop and remove containers
dcldocker-compose logsView output from containers

For a complete list, run alias | grep docker-compose in your terminal.

Git Plugin

The git plugin provides many helpful aliases for common Git operations:

AliasCommandDescription
ggitShorthand for git
gstgit statusCheck repository status
gagit addStage files
gcgit commitCommit changes
gpgit pushPush to remote
glgit pullPull from remote
gcogit checkoutSwitch branches or restore files
gdgit diffShow changes

For a complete list of Git aliases, run alias | grep git in your terminal.

Modern CLI Tools

Manjikaze includes several modern replacements for traditional Unix tools to enhance your command-line experience:

Zoxide

Zoxide is a smarter alternative to the cd command that tracks your most used directories. After visiting a directory once, you can jump to it from anywhere by typing part of its name:

bash
# First visit a directory normally
cd ~/Projects/manjikaze/documentation

# Later, jump to it from anywhere with just
z manjikaze

The more you use a directory, the higher priority it gets in zoxide's ranking.

Bat

Bat is a modern replacement for cat with syntax highlighting, line numbers, Git integration, and more:

bash
# View a file with syntax highlighting
bat config.yaml

# Use as a colorizing pager for other commands
git show | bat

Fd

Fd is a simple, fast, and user-friendly alternative to the find command:

bash
# Find all markdown files in current directory
fd .md

# Find all files containing "config" in name
fd config

Btop

Btop is an advanced system monitor that shows CPU, memory, disk, and network usage in a visually appealing interface. Launch it by typing btop in your terminal.

SSHS

SSHS is an SSH connection manager that helps you organize and connect to your SSH servers quickly. Run sshs to see a list of available connections.

SVGO

SVGO is a tool for optimizing SVG files. Use it to reduce the size of your SVG files before deployment:

bash
# Optimize a single SVG file
svgo icon.svg

# Optimize all SVGs in a directory
svgo -f ./icons/

OpenVPN 3

OpenVPN 3 is an OpenVPN platform that provides a VPN client. You can manage your VPN connections using simple commands:

bash
# Load a config file
openvpn3 config-import --config ${client.ovpn}

# Start a VPN session
openvpn3 session-start --config ${client.ovpn}

Or read the full tutorial here

AWS Tools

Manjikaze includes tools for working with AWS:

  • AWS CLI - Command-line interface for interacting with AWS services
  • AWS Vault - Tool for securely storing and accessing AWS credentials

Detailed documentation for AWS tools is available in the AWS-specific documentation.

Azure Tools

Manjikaze optionally includes the Azure CLI and Azure Kubelogin for working with Azure and AKS (Azure Kubernetes Service).

Customizing Your Shell

You can customize your shell environment by editing the following files:

  • ~/.zshrc - Main Zsh configuration file
  • ~/.oh-my-zsh/custom/ - Directory for custom plugins and themes

To add new Oh My Zsh plugins, edit the plugins line in your .zshrc file:

bash
plugins=(archlinux aws docker docker-compose git git-flow zoxide your-new-plugin)

Then reload your configuration with source ~/.zshrc.