noconfirm to yay // new p10k // update zshrc

This commit is contained in:
2025-10-02 01:15:35 -03:00
parent 602e17b7f7
commit 5bcb95866a
3 changed files with 10 additions and 13 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ if [[ ! "$(echo $DISTRO | tr '[:upper:]' '[:lower:]')" == *"arch"* ]];
then
alias i='sudo apt install -y'
else
alias i='sudo pacman -S'
alias i='sudo pacman -S --noconfirm'
fi
#alias kkill="ps -ef | fzf | awk '{print $2}' | xargs kill -9"
+6 -12
View File
@@ -1,7 +1,7 @@
# Generated by Powerlevel10k configuration wizard on 2025-06-18 at 02:38 UTC.
# Generated by Powerlevel10k configuration wizard on 2025-10-02 at 01:09 -03.
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 37983.
# Wizard options: nerdfont-v3 + powerline, small icons, unicode, lean, 24h time,
# 2 lines, disconnected, no frame, sparse, many icons, concise, instant_prompt=verbose.
# Wizard options: nerdfont-v3 + powerline, large icons, unicode, lean, 24h time, 1 line,
# compact, 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
@@ -30,12 +30,9 @@
# The list of segments shown on the left. Fill it with the most important segments.
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
# =========================[ Line #1 ]=========================
os_icon # os identifier
dir # current directory
vcs # git status
# =========================[ Line #2 ]=========================
newline # \n
prompt_char # prompt symbol
)
@@ -44,7 +41,6 @@
# automatically hidden when the input line reaches it. Right prompt above the
# last prompt line gets hidden if it would overlap with left prompt.
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
# =========================[ Line #1 ]=========================
status # exit code of the last command
command_execution_time # duration of the last command
background_jobs # presence of background jobs
@@ -106,8 +102,6 @@
per_directory_history # Oh My Zsh per-directory-history local/global indicator
# cpu_arch # CPU architecture
time # current time
# =========================[ Line #2 ]=========================
newline
# ip # ip address and bandwidth usage for a specified network interface
# public_ip # public IP address
# proxy # system-wide http/https/ftp proxy
@@ -120,7 +114,7 @@
typeset -g POWERLEVEL9K_MODE=nerdfont-v3
# When set to `moderate`, some icons will have an extra space after them. This is meant to avoid
# icon overlap when using non-monospace fonts. When set to `none`, spaces are not added.
typeset -g POWERLEVEL9K_ICON_PADDING=none
typeset -g POWERLEVEL9K_ICON_PADDING=moderate
# Basic style options that define the overall look of your prompt. You probably don't want to
# change them.
@@ -143,7 +137,7 @@
typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT=true
# Add an empty line before each prompt.
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=false
# Connect left prompt lines with these symbols.
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=
@@ -1687,7 +1681,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.
#
+3
View File
@@ -127,3 +127,6 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--border="rounded" --preview-window="border-rounded" --prompt="> "
--marker="◆ " --pointer="> " --separator="─" --scrollbar="│"
--height 50% --layout default --border'
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh