Last active
October 24, 2025 10:05
-
-
Save hbread00/144bd30e00f9247d63e32152bc393bbd to your computer and use it in GitHub Desktop.
my zshrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| setopt HIST_IGNORE_ALL_DUPS | |
| setopt HIST_IGNORE_SPACE | |
| setopt HIST_SAVE_NO_DUPS | |
| setopt HIST_REDUCE_BLANKS | |
| setopt APPEND_HISTORY | |
| setopt CORRECT | |
| setopt NO_BEEP | |
| setopt INTERACTIVE_COMMENTS | |
| export PATH="$HOME/.local/bin:$HOME/bin:/usr/local/bin:/usr/bin:$PATH" | |
| HISTSIZE=1024 | |
| SAVEHIST=1024 | |
| HISTFILE=~/.zsh_history | |
| alias ls='ls --color=auto' | |
| alias ll='ls -lAh --color=auto' | |
| alias grep='grep --color=auto' | |
| alias diff='diff --color=auto' | |
| alias less='less -R' | |
| alias cp='cp -iv' | |
| alias mv='mv -iv' | |
| alias rm='rm -vI' | |
| alias mkdir='mkdir -pv' | |
| alias rmdir='rmdir -v' | |
| alias df='df -h' | |
| alias du='du -h --max-depth=1' | |
| alias sudo='doas' | |
| alias aptup='doas apt update && apt list --upgradable && doas apt upgrade' | |
| alias aptrm='doas apt autoremove && doas apt autoclean' | |
| alias aptls='apt list --installed' | |
| autoload -Uz compinit && compinit | |
| autoload -Uz colors && colors | |
| bindkey '^[[1;5C' forward-word | |
| bindkey '^[[1;5D' backward-word | |
| eval "$(starship init zsh)" | |
| source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh | |
| source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment