-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
48 lines (38 loc) · 1.34 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
39
40
41
42
43
44
45
46
47
48
export CLICOLOR=1
export EDITOR="vim"
export ZSH="/Users/idris/.oh-my-zsh"
ZSH_THEME="robbyrussell"
# gtfo bell noise in zsh
unsetopt BEEP
#plugins=(git vi-mode)
# Android React Native
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
source $ZSH/oh-my-zsh.sh
# User configuration
alias idris="ssh -i /Users/idris/.ssh/Idris-Server.pem [email protected]"
alias dev-tmux="tmux new-session \; split-window -v -p 25 \; split-window -h \;"
alias v="vim"
alias vi="vim"
#alias vim="nvim"
alias view="vim -R"
alias vimdiff="vim -d"
# tmuxinator alias
alias craftle="tmuxinator start craftle"
alias craftlew="tmuxinator start craftle-web"
# Enable a better reverse search experience.
# Requires: https://github.com/junegunn/fzf (to use fzf in general)
# Requires: https://github.com/BurntSushi/ripgrep (for using rg below)
export FZF_DEFAULT_COMMAND="rg --files --hidden --follow --glob '!.git'"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
if [ "$TERM" = "xterm" ]; then
export TERM=xterm-256color
fi
alias tmux='tmux -2' # for 256color
bindkey -v
bindkey '^r' history-incremental-search-backward
# export PATH="/usr/local/opt/[email protected]/bin:$PATH"
export PATH="/usr/local/opt/openssl/bin:$PATH"