server

Server Configuration
git clone https://git.pngu.org/server
Log | Files | Refs | README

.zshrc (830B)


#!/bin/zsh

export HISTFILE=~/.zsh_history
export HISTSIZE=5000
export SAVEHIST=20000
export LC_ALL=en_US.UTF-8
export EDITOR=nvim

path+=("/usr/sbin" ".local/bin" ".cargo/bin")
export PATH

setopt HIST_IGNORE_ALL_DUPS
setopt HIST_FIND_NO_DUPS

bindkey -v
bindkey "^?" backward-delete-char
zstyle ':completion:*' completer _complete _ignored
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle :compinstall filename '~/.zshrc'
autoload -U compinit && compinit

eval "$(starship init zsh)"
eval "$(zoxide init zsh)"

alias l="lsd -la"
alias ls="lsd"
alias tree="lsd --tree"
alias cat="batcat --paging=never"
alias cd="z"
alias vi="nvim"
alias sudo="doas"
alias diff="diff --color=always"

source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh