############################ # # # ███████╗███████╗██╗ ██╗ # # ╚══███╔╝██╔════╝██║ ██║ # # ███╔╝ ███████╗███████║ # # ███╔╝ ╚════██║██╔══██║ # # ███████╗███████║██║ ██║ # # ╚══════╝╚══════╝╚═╝ ╚═╝ # # # ############################ # Required packages: # - nerd-font-hack (AUR) # - trash-cli (with gvfs) export PATH=$HOME/.local/bin:$HOME/.dotnet/tools:$XDG_DATA_HOME/npm_global/bin:$XDG_DATA_HOME/cargo/bin:$PATH [[ $- != *i* ]] && return [ -n $SSH_CONNECTION ] && source ~/.profile # NIXOS specific stuff source /etc/zshrc # P10K stuff 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 [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # wal subshell for terminal colors if test -f $XDG_CACHE_HOME/wal/sequences; then (cat $XDG_CACHE_HOME/wal/sequences &) fi plugins=( git last-working-dir extract z ) # Variables export MANPAGER="bat -l man -p" # ZSH percent fix export PROMPT_EOL_MARK="" # FZF export FZF_DEFAULT_COMMAND="fd --type file --color=always" export FZF_DEFAULT_OPTS="--ansi" # Aliases alias vim="nvim" alias please='sudo ' alias ls='exa --icons' alias svim='sudoedit' alias dotfiles="git --git-dir=$XDG_DATA_HOME/dotfiles-remastered --work-tree=$HOME" # dotfile config --local status.showUntrackedFiles no alias open="xdg-open" alias mixer="pulsemixer" alias yt-dl-audio="yt-dlp --extract-audio --audio-format mp3 -o '%(title)s.%(ext)s'" alias rm="trash" alias modx="chmod +x" alias mv="mv -iv" alias cp="cp -riv" alias mkdir="mkdir -pv" alias ip="ip -c=auto" alias syu="sudo nix-channel --update" alias virsh="virsh -c qemu:///system" alias k="kubectl" alias ssh="TERM=xterm-256color ssh" alias df="duf" alias du="dust" alias nom="npm"