-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
29 lines (25 loc) · 1021 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
PROMPT='%1~ '
#PROMPT=''
# allow bash-style comments
setopt interactivecomments
# exports
export VISUAL=nvim
export EDITOR="$VISUAL"
export GIT_EDITOR="$VISUAL"
export MANPAGER='nvim +Man!'
export LC_ALL=en_US.UTF-8
alias vim=nvim
alias ..='cd ..'
alias l="ls -l"
alias fzf='fzf --color bw'
alias dl='youtube-dl -o "~/Downloads/%(title)s.%(ext)s"'
alias dl3='youtube-dl -x --audio-format=mp3 -o "~/Downloads/%(title)s.%(ext)s"'
alias dlw='youtube-dl -x --audio-format=wav -o "~/Downloads/%(title)s.%(ext)s"'
alias dl4='youtube-dl -f mp4 -o "~/Downloads/%(title)s.%(ext)s"'
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
setopt MENU_COMPLETE
setopt no_list_ambiguous
autoload -Uz compinit && compinit
source /opt/local/share/fzf/shell/completion.zsh
source <(fzf --zsh)
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=fg:#ffffff,bg:#000000,hl:#ffffff --color=fg+:#ffffff,bg+:#000000,hl+:#ffffff --color=info:#ffffff,prompt:#ffffff,pointer:#ffffff --color=marker:#ffffff,spinner:#ffffff,header:#ffffff'