diff --git a/.config/ghostty/config b/.config/ghostty/config index b58b112..24b7439 100644 --- a/.config/ghostty/config +++ b/.config/ghostty/config @@ -1,3 +1,3 @@ -command = /home/linuxbrew/.linuxbrew/bin/zsh --login --interactive -font-size = 13.0 +#command = /home/linuxbrew/.linuxbrew/bin/zsh --login --interactive +#font-size = 13.0 quit-after-last-window-closed = true diff --git a/.zshrc b/.zshrc index d311827..b7c1228 100644 --- a/.zshrc +++ b/.zshrc @@ -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 ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git" @@ -57,7 +65,7 @@ export GOBIN="$HOME/go/bin" 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. #export ZSH="$HOME/.oh-my-zsh" @@ -167,6 +175,8 @@ alias la="eza -la" alias ls="eza" alias cd="z" 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" @@ -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@17/bin:$PATH" + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh fastfetch diff --git a/lathund.txt b/lathund.txt index 67f9e02..ff60480 100644 --- a/lathund.txt +++ b/lathund.txt @@ -23,6 +23,12 @@ Lazygit: git manager in terminal 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. h (left) j (down) k (up) l (right)