-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshrc
More file actions
45 lines (37 loc) · 1.18 KB
/
zshrc
File metadata and controls
45 lines (37 loc) · 1.18 KB
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
35
36
37
38
39
40
41
42
43
44
# Variables
export DOTFILES="$HOME/Workspace/github/RonaldoSetzer/dotfiles"
export HOMEBREW_BUNDLE_FILE="$DOTFILES/Brewfile"
export GOPATH="$HOME/Workspace/go"
# Add Locations to $path Array
typeset -U path
path=(
"$N_PREFIX/bin"
$path
)
export VISUAL="nvim"
export EDITOR="nvim"
# SYNTAX HIGHLIGHT - man pages
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# ALIAS
alias zs="source ~/.zshrc"
alias bbd="brew bundle dump --force --describe"
alias mkdirs="mkdir -p"
alias ls="ls -lAFh"
alias lf="eza -a --icons"
alias ll="eza -a --long --git --icons --no-user --header"
alias lt1="eza --tree --git --icons --level=1 --git-ignore"
alias lt2="eza --tree --git --icons --level=2 --git-ignore"
alias lt3="eza --tree --git --icons --level=3 --git-ignore"
# CUSTOMIZE PROMPT
SPACESHIP_CHAR_SYMBOL="❯"
SPACESHIP_CHAR_SUFFIX=" "
# FZF
ZSH_FZF_HISTORY_SEARCH_DATES_IN_SEARCH=0
ZSH_FZF_HISTORY_SEARCH_EVENT_NUMBERS=0
ZSH_FZF_HISTORY_SEARCH_REMOVE_DUPLICATES=1
# SETUP ZSH PLUGINS
source $HOMEBREW_PREFIX/opt/antidote/share/antidote/antidote.zsh
antidote bundle < "$DOTFILES/zsh_plugins" > "$DOTFILES/zsh_plugins.zsh"
source $DOTFILES/zsh_plugins.zsh
# SETUP Z
source /opt/homebrew/etc/profile.d/z.sh