-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshrc
More file actions
66 lines (56 loc) · 1.66 KB
/
zshrc
File metadata and controls
66 lines (56 loc) · 1.66 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# Customize to your needs...
# if [ $SHLVL = 1 ]; then
# tmux
# fi
# alias
# alias ls='ls --color=auto'
alias lt='ls -ltF --color=auto'
alias lr='ls -ltrF --color=auto'
alias ll='ls -lF --color=auto'
alias gs='git status'
alias gaa='git add'
alias gc-b='git checkout -b'
alias gc-m='git commit -m'
alias res='~/Dropbox/Research/'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias drop=' ~/Dropbox'
alias epfl=' ~/Dropbox/Research/PhD/EPFL'
alias uzh=' ~/Dropbox/Research/PostDoc/UZH'
alias paper='cd ~/Dropbox/Research/Reference/Paper'
# virtualenvでpromptを変更しない
export VIRTUAL_ENV_DISABLE_PROMPT=0
# Hunspell
export DICTIONARY=en_US
export WORDLIST=$HOME/.hunspell_personal_dictionary
# pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
# conda
. /home/takafumi/.pyenv/versions/anaconda3-5.3.1/etc/profile.d/conda.sh
conda activate
# GAMS
export PATH=/opt/gams/gams31.2_linux_x64_64_sfx:$PATH
export PATH=/opt/gams/gams32.2_linux_x64_64_sfx:$PATH
# Cuda
export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib/cuda/lib64:/usr/local/lib:$LD_LIBRARY_PATH
# Python
export PATH=$HOME/.local/bin:$PATH
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion