mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
ZSH config overhaul
- .zshrc: Use zinit package manager - .zshrc: Reorg - remove comments, ZSH, zinit, configs batched together - .zshrc: Better completions - .zshrc: More plugins: colored-man-pages, command-not-found, kitty, podman, rust, timer, fd, systemd - .profile: Autoload brew applications on MacOs - p10k: Transient prompt + dotted lines
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Generated by Powerlevel10k configuration wizard on 2024-01-15 at 21:46 IST.
|
||||
# Generated by Powerlevel10k configuration wizard on 2024-06-28 at 15:57 IST.
|
||||
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 43791.
|
||||
# Wizard options: nerdfont-complete + powerline, small icons, unicode, lean, 24h time,
|
||||
# 2 lines, solid, left frame, darkest-ornaments, compact, many icons, concise,
|
||||
# instant_prompt=quiet.
|
||||
# Wizard options: nerdfont-complete + powerline, small icons, unicode, lean, 12h time,
|
||||
# 2 lines, dotted, left frame, darkest-ornaments, sparse, many icons, concise,
|
||||
# transient_prompt, instant_prompt=verbose.
|
||||
# Type `p10k configure` to generate another config.
|
||||
#
|
||||
# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate
|
||||
@@ -135,7 +135,7 @@
|
||||
typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT=true
|
||||
|
||||
# Add an empty line before each prompt.
|
||||
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=false
|
||||
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
|
||||
|
||||
# Connect left prompt lines with these symbols.
|
||||
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%238F╭─'
|
||||
@@ -164,7 +164,7 @@
|
||||
# the number of prompt lines. You'll probably want to set POWERLEVEL9K_SHOW_RULER=false
|
||||
# if using this. You might also like POWERLEVEL9K_PROMPT_ADD_NEWLINE=false for more compact
|
||||
# prompt.
|
||||
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR='─'
|
||||
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR='·'
|
||||
if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then
|
||||
# The color of the filler.
|
||||
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=238
|
||||
@@ -788,7 +788,7 @@
|
||||
#
|
||||
# These variables correspond to the last line of the output of `todo.sh -p ls`:
|
||||
#
|
||||
# todo: 24 of 42 tasks shown
|
||||
# TODO: 24 of 42 tasks shown
|
||||
#
|
||||
# Here 24 is P9K_TODO_FILTERED_TASK_COUNT and 42 is P9K_TODO_TOTAL_TASK_COUNT.
|
||||
#
|
||||
@@ -1499,7 +1499,7 @@
|
||||
# Current time color.
|
||||
typeset -g POWERLEVEL9K_TIME_FOREGROUND=66
|
||||
# Format for the current time: 09:51:02. See `man 3 strftime`.
|
||||
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}'
|
||||
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%I:%M:%S %p}'
|
||||
# If set to true, time will update when you hit enter. This way prompts for the past
|
||||
# commands will contain the start times of their commands as opposed to the default
|
||||
# behavior where they contain the end times of their preceding commands.
|
||||
@@ -1548,7 +1548,7 @@
|
||||
# - always: Trim down prompt when accepting a command line.
|
||||
# - same-dir: Trim down prompt when accepting a command line unless this is the first command
|
||||
# typed after changing current working directory.
|
||||
typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=off
|
||||
typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=always
|
||||
|
||||
# Instant prompt mode.
|
||||
#
|
||||
@@ -1560,7 +1560,7 @@
|
||||
# - verbose: Enable instant prompt and print a warning when detecting console output during
|
||||
# zsh initialization. Choose this if you've never tried instant prompt, haven't
|
||||
# seen the warning, or if you are unsure what this all means.
|
||||
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
|
||||
typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose
|
||||
|
||||
# Hot reload allows you to change POWERLEVEL9K options after Powerlevel10k has been initialized.
|
||||
# For example, you can type POWERLEVEL9K_BACKGROUND=red and see your prompt turn red. Hot reload
|
||||
|
||||
Reference in New Issue
Block a user