1
0
dotfiles/noire-carnation/zshrc

27 lines
720 B
Bash
Raw Normal View History

2023-11-19 14:48:04 -07:00
test -e "$HOME/.functions" && source "$HOME/.functions"
unsetopt autocd
bindkey -v
zstyle :compinstall filename "$HOME/.zshrc"
autoload -Uz compinit
compinit -u -d "$XDG_CACHE_HOME/zsh/zcompdump"
setopt rmstarsilent
plugindir="/usr/share/zsh/plugins"
for plugin in \
"$plugindir/zsh-autosuggestions/zsh-autosuggestions.zsh" \
"$plugindir/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh" \
"$plugindir/zsh-history-substring-search/zsh-history-substring-search.zsh"
do
source "$plugin"
done
bindkey -a 'k' history-substring-search-up
bindkey -a 'j' history-substring-search-down
2023-12-18 12:47:55 -07:00
# aliases
alias weather="curl 'wttr.in/?0'"
alias vi="busybox vi"
alias tar="bsdtar"
2023-11-19 14:48:04 -07:00
alias which="$HOME/.local/bin/which"