1
0
Fork 0
ryzowanie/config/zsh/.zshrc

35 lines
814 B
Bash
Raw Normal View History

2024-06-10 23:06:02 +02:00
## Plugin manager
[ ! -d ${ZDOTDIR:-$HOME}/.antidote ] && git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-$HOME}/.antidote
source ${ZDOTDIR:-$HOME}/.antidote/antidote.zsh
antidote load ${ZDOTDIR:-$HOME}/zsh_plugins.txt
# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
##
autoload -U compinit
compinit -C
zstyle ':completion:*' menu select
setopt appendhistory
setopt hist_ignore_all_dups
bindkey '^[[A' history-substring-search-up # or '\eOA'
bindkey '^[[B' history-substring-search-down # or '\eOB'
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
2024-06-11 21:55:28 +02:00
alias lf='lfrun'
2024-06-11 00:22:45 +02:00
alias l='ls -lah'
alias la='ls -lAh'
alias ll='ls -lh'
alias ls='ls --color=tty'
alias lsa='ls -lah'
alias gst='git status'