Skip to content

Instantly share code, notes, and snippets.

@EricZimmerman
Last active March 13, 2026 00:07
Show Gist options
  • Select an option

  • Save EricZimmerman/28491830bb286c1b921a5d3f4b73bffb to your computer and use it in GitHub Desktop.

Select an option

Save EricZimmerman/28491830bb286c1b921a5d3f4b73bffb to your computer and use it in GitHub Desktop.
.zshrc
# Debian/Ubuntu
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
export EDITOR=nano
#Path to Functions and Plugins
export ZSH="/usr/share/"
fpath=($ZSH/functions $ZSH/site-functions $fpath)
#Source ZSH Plugins
source $ZSH/zsh-autosuggestions/zsh-autosuggestions.zsh
source $ZSH/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '$HOME/.zshrc'
autoload -Uz compinit; compinit
# End of lines added by compinstall
#bindkey "^?" backward-delete-char
bindkey "^[[3~" delete-char
bindkey "^[[H" beginning-of-line
bindkey "^[[F" end-of-line
alias cat="batcat"
## eza
alias ls="eza --icons --group-directories-first"
alias ld="eza -D --icons=always --color=always"
alias lf="eza -f --icons=always --color=always --git-ignore"
alias ll="eza --icons --group-directories-first -l -b --total-size -g -h"
alias la='eza -a --color=always --group-directories-first'
alias lt='eza -aT -L 2 --color=always --group-directories-first'
alias l.='eza -a | grep -E "^\."'
# This will set Starship as default prompt theme
eval "$(starship init zsh)"
# Endeavor
# Endeavor
# Endeavor
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
export EDITOR=micro
#Path to Functions and Plugins
export ZSH="/usr/share/zsh"
fpath=($ZSH/functions $ZSH/site-functions $fpath)
#Source ZSH Plugins
source $ZSH/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source $ZSH/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '$HOME/.zshrc'
autoload -Uz compinit; compinit
# End of lines added by compinstall
#bindkey "^?" backward-delete-char
bindkey "^[[3~" delete-char
bindkey "^[[H" beginning-of-line
bindkey "^[[F" end-of-line
alias cat="bat"
alias ssh="kitty +kitten ssh"
## eza
alias ls="eza --icons --group-directories-first"
alias ld="eza -D --icons=always --color=always"
alias lf="eza -f --icons=always --color=always --git-ignore"
alias ll="eza --icons --group-directories-first -l -b --total-size -g -h"
alias la='eza -a --color=always --group-directories-first'
alias lt='eza -aT -L 2 --color=always --group-directories-first'
alias l.='eza -a | grep -E "^\."'
# This will set Starship as default prompt theme
eval "$(starship init zsh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment