-
Notifications
You must be signed in to change notification settings - Fork 7
/
.zshrc
53 lines (42 loc) · 1.05 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
49
50
51
52
##### .zshrc / RESLOVED ###########################
##### OHMYZSH #####################################
# PATH
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="circle"
source $ZSH/oh-my-zsh.sh
ZLE_RPROMPT_INDENT=0
##### BINDS #######################################
# CLIMB BIND
bindkey -s "^k" '^Ucd ..^M'
# DIR BIND
bindkey -s "^l" '^Ule^M'
##### ALIAS #######################################
# SPACED DIR
alias le="echo ''; ls; echo ''"
# EMACS CLIENT
alias ec="emacsclient -t"
# RELOAD XRESOURCES
alias xr="xrdb -merge ~/.Xresources"
# TIME
alias now="echo -e $(date +'%H:%M')"
# UPLOAD TO STREAMABLE
alias stream="anypaste -x -s -p streamable"
# SSH TERM
alias ssh="TERM=xterm ssh"
##### PATH ########################################
# BIN
export PATH=$HOME/bin:$PATH
# PYTHON
export PATH=/usr/local/anaconda/bin/:$PATH
# JAVA
export PATH=/usr/lib/jvm/java-10-jdk/bin/:$PATH
##### OTHER ######################################
if [[ "$TERM" == "dumb" ]]
then
unsetopt zle
unsetopt prompt_cr
unsetopt prompt_subst
unfunction precmd
unfunction preexec
PS1='$ '
fi