-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
34 lines (26 loc) · 897 Bytes
/
.zshrc
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
setopt autocd
setopt promptsubst
bindkey -v
HISTFILE=~/.config/zsh/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt appendhistory
source ~/.config/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.config/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.config/zsh/themes/agnoster-zsh-theme/agnoster.zsh-theme
source /usr/share/doc/pkgfile/command-not-found.zsh
source ~/.config/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
function cd() {
new_directory="$*";
if [ $# -eq 0 ]; then
new_directory=${HOME};
fi;
builtin cd "${new_directory}" && exa
}
alias ls='exa'
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
prompt_context() { }
(cat ~/.config/wpg/sequences &)
source ~/.cache/wal/colors-tty.sh
[[ $TERM == xterm-termite ]] && { clear && bitfetch; };