-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
62 lines (47 loc) · 1.52 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
53
54
55
56
57
58
59
60
61
62
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
HYPHEN_INSENSITIVE="true"
plugins=(git)
source $ZSH/oh-my-zsh.sh
alias n="ninja"
alias open="xdg-open"
alias act="conda activate"
alias deact="conda deactivate"
alias g="git"
alias gs="git status -s"
alias gd="git diff"
alias gc="git commit -v"
alias gco="git checkout"
alias gl="git log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'"
alias gst="git stash"
alias gsta="git stash apply"
alias tm="tmux"
alias tmat="tm a -t"
alias c="clear"
alias ipy="ipython --matplotlib"
alias py="python"
alias s=less
alias v="vim"
alias feh="feh --keep-zoom-vp"
alias ffprobe="ffprobe -hide_banner"
alias vimrc="vim ~/.vimrc"
alias zshrc="vim ~/.zshrc && source ~/.zshrc"
alias fogsphere="ssh [email protected]"
alias wilson="ssh [email protected]"
alias theropod="ssh [email protected]"
export HISTSIZE=10000
export SAVEHIST=10000
export HISTFILE=~/.history
export EDITOR=vim
export FZF_DEFAULT_COMMAND='rg --files --hidden --follow'
bindkey -v
source $HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
bindkey "^P" up-line-or-search
bindkey "^N" down-line-or-search
bindkey "^R" history-incremental-search-backward
bindkey "^A" vi-beginning-of-line
bindkey "^E" vi-end-of-line
export PATH=$HOME/.cargo/bin:$PATH
export PATH=/usr/local/julia-1.1.0/bin:/usr/local/cuda/bin:$HOME/.local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/lib:$LD_LIBRARY_PATH
. "$HOME/miniconda3/etc/profile.d/conda.sh"