-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathzprofile
29 lines (25 loc) · 887 Bytes
/
zprofile
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
#
# Executes commands at login pre-zshrc.
#
alias ctail='grc tail'
alias em='emacs'
alias emd='emacs --daemon'
alias e='emacsclient -t'
alias ec='emacsclient -c'
# Docker Compose shortcuts
alias dc='docker-compose'
alias dcup='docker-compose up --force-recreate --renew-anon-volumes'
alias dcr='docker'
alias kc='kubectl'
alias tf='terraform'
if [ "$(uname 2> /dev/null)" != "Linux" ]; then
# nothing here
else
# for Ubuntu there is no package, it can be installed like this: sudo git clone https://github.com/zsh-users/zsh-autosuggestions /usr/local/share/zsh-autosuggestions/
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# DL box
export CUDA_VERSION=10.1
export PATH=/usr/local/cuda-${CUDA_VERSION}/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-${CUDA_VERSION}/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
fi
export LC_ALL="en_US.UTF-8"