-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
38 lines (29 loc) · 1.75 KB
/
.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
35
36
37
38
#
# ███████╗███████╗██╗ ██╗ ██████╗ ██████╗ ███╗ ██╗███████╗██╗ ██████╗
# ╚══███╔╝██╔════╝██║ ██║ ██╔════╝██╔═══██╗████╗ ██║██╔════╝██║██╔════╝
# ███╔╝ ███████╗███████║ ██║ ██║ ██║██╔██╗ ██║█████╗ ██║██║ ███╗
# ███╔╝ ╚════██║██╔══██║ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
# ███████╗███████║██║ ██║ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
# ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
#
ZSH="$HOME/.oh-my-zsh"
export TERM=xterm-256color
export VISUAL="nvim"
export EDITOR="nvim"
export PAGER="less"
export GH_PAGER="cat"
# Base commands
alias mv="mv -iv" # interactive, verbose
alias cp="cp -riv" # recursive, interactive, verbose
alias mkdir="mkdir -vp" # verbose, parent
# nvm
source $(brew --prefix nvm)/nvm.sh
# plugins
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
# prompt
fpath=($fpath "$HOME/.zfunctions")
export TYPEWRITTEN_RELATIVE_PATH="home"
export TYPEWRITTEN_PROMPT_LAYOUT="pure"
autoload -U promptinit; promptinit
prompt typewritten
source $ZSH/oh-my-zsh.sh