~yerinalexey/dotfiles

ref: 8579758ddf3d8383f2ea9cad38fab11934bc456e dotfiles/zsh/init.zsh -rw-r--r-- 743 bytes
8579758dAlexey Yerin scripts/xdg-open: fix terminal command for foot 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Base configuration

# Enable comments in interactive mode
setopt interactivecomments

# Less confusing time
export TIMEFMT='%J: took %E; cpu %P'

# Completions
## Completion dump in ~/.cache
export ZSH_COMPDUMP="$XDG_CACHE_HOME/zsh-compdump"

## Include additional completions
fpath=($fpath $XDG_CONFIG_HOME/zsh/completions)

## Load compinit
autoload -U compinit
compinit -d "$ZSH_COMPDUMP"

## Set completion menu style
zstyle ':completion:*' menu select
zstyle ':completion:*' list-colors menu

## Fix completion for rmf
compdef _files rmf

# Include other configs
ZSHRC="$XDG_CONFIG_HOME/zsh"

source "$ZSHRC/aliases.zsh"
source "$ZSHRC/bindings.zsh"
source "$ZSHRC/history.zsh"
source "$ZSHRC/functions.zsh"
source "$ZSHRC/plugins.zsh"