Skip to content

Instantly share code, notes, and snippets.

@jakobrs
Created March 7, 2022 16:07
Show Gist options
  • Save jakobrs/92246523dac920ae2c0ddb188af51a7c to your computer and use it in GitHub Desktop.
Save jakobrs/92246523dac920ae2c0ddb188af51a7c to your computer and use it in GitHub Desktop.
bindkey -e
setopt NO_BEEP
export HISTFILE=~/.history
export HISTSIZE=1000
export SAVEHIST=1000
setopt APPEND_HISTORY
setopt HIST_IGNORE_SPACE
setopt HIST_IGNORE_ALL_DUPS
command -v exa >/dev/null && alias ls=exa
command -v batcat >/dev/null && alias bat=batcat
export PS1='%F{yellow}%~%f %F{cyan}%M%f %(!.%F{red}#.%F{green}%%)%f '
export RPS1=""
export PATH="$HOME/.local/bin:$PATH"
function () {
local dir
for dir in /home/*; do
hash -d "$(basename $dir)=$dir"
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment