mirror of https://github.com/qpixel/dotfiles.git
43 lines
898 B
Plaintext
43 lines
898 B
Plaintext
# Path to your oh-my-zsh installation.
|
|
#export ZSH="$HOME/repos/ohmyzsh"
|
|
|
|
# znap
|
|
[[ -f ~/repos/zsh-snap/znap.zsh ]] ||
|
|
git clone --depth 1 https://github.com/marlonrichert/zsh-snap.git ~/repos/zsh-snap
|
|
|
|
source ~/repos/zsh-snap/znap.zsh
|
|
|
|
# OMZ
|
|
#znap source ohmyzsh/ohmyzsh lib/{git,theme-and-appearance}
|
|
|
|
# Plugins
|
|
znap source marlonrichert/zsh-autocomplete
|
|
zstyle ':autocomplete:*' min-input 1
|
|
|
|
znap source zsh-users/zsh-autosuggestions
|
|
znap source zsh-users/zsh-completions
|
|
# User configuration
|
|
|
|
# aliases
|
|
# replace ls with exa
|
|
alias ls="exa"
|
|
alias tree="exa --tree"
|
|
#replace cat with bat
|
|
alias cat="bat"
|
|
|
|
#replace vim and vi with nvim
|
|
alias vim="nvim"
|
|
alias vi="nvim"
|
|
|
|
#if [ -z "$SSH_AUTH_SOCK" ] ; then
|
|
# eval `ssh-agent -s`
|
|
# ssh-add
|
|
#fi
|
|
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh
|
|
|
|
# zoxide
|
|
eval "$(zoxide init zsh --cmd cd)"
|
|
|
|
# remember to install starship
|
|
eval "$(starship init zsh)"
|