Small changes from Cachyos

This commit is contained in:
2026-01-23 15:52:18 +01:00
parent b11eff87d1
commit c6690dcc8c
3 changed files with 22 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
command = /home/linuxbrew/.linuxbrew/bin/zsh --login --interactive #command = /home/linuxbrew/.linuxbrew/bin/zsh --login --interactive
font-size = 13.0 #font-size = 13.0
quit-after-last-window-closed = true quit-after-last-window-closed = true

15
.zshrc
View File

@@ -1,3 +1,11 @@
source /usr/share/cachyos-zsh-config/cachyos-config.zsh
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Set the directory we want to store zinit and plugins # Set the directory we want to store zinit and plugins
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git" ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
@@ -57,7 +65,7 @@ export GOBIN="$HOME/go/bin"
export EDITOR='nvim' export EDITOR='nvim'
export PATH="/home/linuxbrew/.linuxbrew/bin/:/usr/local/bin:/opt/homebrew/bin:$HOME/Library/Python/3.8/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/homebrew/sbin:$HOME/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/Library/Application:Support/JetBrains/Toolbox/scripts:$GOPATH/bin" export PATH="/usr/local/bin:/opt/homebrew/bin:$HOME/Library/Python/3.8/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/homebrew/sbin:$HOME/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/Library/Application:Support/JetBrains/Toolbox/scripts:$GOPATH/bin"
# Path to your Oh My Zsh installation. # Path to your Oh My Zsh installation.
#export ZSH="$HOME/.oh-my-zsh" #export ZSH="$HOME/.oh-my-zsh"
@@ -167,6 +175,8 @@ alias la="eza -la"
alias ls="eza" alias ls="eza"
alias cd="z" alias cd="z"
alias cat="bat" alias cat="bat"
alias yayf="yay -Slq | fzf --multi --preview 'yay -Sii {1}' --preview-window=down:75% --layout=reverse | xargs -ro yay -S"
alias pacf="pacman -Slq | fzf --preview 'pacman -Sii {}' --layout=reverse --bind 'enter:execute(pacman -Sii {} | less)'"
export PATH="/opt/homebrew/opt/postgresql@16/bin:$PATH" export PATH="/opt/homebrew/opt/postgresql@16/bin:$PATH"
@@ -183,4 +193,7 @@ export PATH="$PATH:~/.local/bin:$HOME/Library/Android/sdk/platform-tools"
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH" export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
export PATH="/opt/homebrew/opt/openjdk@17/bin:$PATH" export PATH="/opt/homebrew/opt/openjdk@17/bin:$PATH"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
fastfetch fastfetch

View File

@@ -23,6 +23,12 @@ Lazygit: git manager in terminal
bat, stow, yazi, lazygit, fzf, eza, zoxide, tmux, neovim, zsh bat, stow, yazi, lazygit, fzf, eza, zoxide, tmux, neovim, zsh
systemctl status autofs
/etc/autofs/
1. The cursor is moved using either the arrow keys or the hjkl keys. 1. The cursor is moved using either the arrow keys or the hjkl keys.
h (left) j (down) k (up) l (right) h (left) j (down) k (up) l (right)