Skip to content

Instantly share code, notes, and snippets.

@friggeri
Created February 15, 2022 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save friggeri/b09d649610571823b64b6ac062e41018 to your computer and use it in GitHub Desktop.
Save friggeri/b09d649610571823b64b6ac062e41018 to your computer and use it in GitHub Desktop.
# Aliases
alias ls='ls -h'
alias ll='ls -l'
alias la='ls -a'
alias lla='ls -la'
alias ls='ls --color'
alias less='less --quiet'
alias df='df --human-readable'
alias du='du --human-readable'
export EDITOR=code
export CLICOLOR=1
export LSCOLORS=gxfxcxdxbxegedabagacad
autoload -U compinit; compinit
setopt MENU_COMPLETE
zstyle ':completion:*' completer _extensions _complete _approximate
zstyle ':completion:*' complete true
zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*'
zstyle ':completion:*' menu select
zstyle ':completion:*:rm:*' ignore-line yes
eval "$(starship init zsh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment