12 KiB
12 KiB
Batteries included
Powerlevel10k comes with dozens of built-in high quality segments. When you run p10k configure
and choose any style except Pure, many of these segments get enabled by
default while others be manually enabled by opening ~/.p10k.zsh
and uncommenting them. You can
enable as many segments as you like. It won't slow down your prompt or Zsh startup.
Segment | Meaning |
---|---|
os_icon |
your OS logo (apple for macOS, swirl for debian, etc.) |
dir |
current working directory |
vcs |
Git repository status |
prompt_char |
multi-functional prompt symbol; changes depending on vi mode: ❯ , ❮ , V , ▶ for insert, command, visual and replace mode respectively; turns red on error |
context |
user@hostname |
status |
exit code of the last command |
command_execution_time |
duration (wall time) of the last command |
background_jobs |
presence of background jobs |
time |
current time |
direnv |
direnv status |
asdf |
tool versions from asdf |
virtualenv |
python environment from venv |
anaconda |
virtual environment from conda |
pyenv |
python environment from pyenv |
goenv |
go environment from goenv |
nodenv |
node.js environment from nodenv |
nvm |
node.js environment from nvm |
nodeenv |
node.js environment from nodeenv |
rbenv |
ruby environment from rbenv |
rvm |
ruby environment from rvm |
fvm |
flutter environment from fvm |
luaenv |
lua environment from luaenv |
jenv |
java environment from jenv |
plenv |
perl environment from plenv |
phpenv |
php environment from phpenv |
haskell_stack |
haskell version from stack |
node_version |
node.js version |
go_version |
go version |
rust_version |
rustc version |
dotnet_version |
dotnet version |
php_version |
php version |
laravel_version |
laravel php framework version |
java_version |
java version |
package |
name@version from package.json |
kubecontext |
current kubernetes context |
terraform |
terraform workspace |
aws |
aws profile |
aws_eb_env |
aws elastic beanstalk environment |
azure |
azure account name |
gcloud |
google cloud cli account and project |
google_app_cred |
google application credentials |
nordvpn |
nordvpn connection status |
ranger |
ranger shell |
nnn |
nnn shell |
vim_shell |
vim shell (:sh ) |
midnight_commander |
midnight commander shell |
nix_shell |
nix shell indicator |
todo |
todo items |
timewarrior |
timewarrior tracking status |
taskwarrior |
taskwarrior task count |
vpn_ip |
virtual private network indicator |
ip |
IP address and bandwidth usage for a specified network interface |
load |
CPU load |
disk_usage |
disk usage |
ram |
free RAM |
swap |
used swap |
public_ip |
public IP address |
proxy |
system-wide http/https/ftp proxy |
wifi |
WiFi speed |
battery |
internal battery state and charge level (yep, batteries literally included) |