dotfiles/config/zshrc

30 lines
660 B
Bash
Raw Normal View History

2019-05-05 19:24:14 +02:00
# Path to your oh-my-zsh configuration.
export DOTFILES=$HOME/.dotfiles
2019-08-07 07:55:33 +02:00
export PATH=$HOME/.local/bin:$HOME/.mix/escripts:/usr/local/go/bin:$PATH
2019-05-05 19:24:14 +02:00
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='atom'
fi
2019-05-05 23:24:48 +02:00
if [[ -d $HOME/.cargo ]]; then
source $HOME/.cargo/env
fi
2019-08-07 07:55:33 +02:00
autoload -U promptinit; promptinit
2019-05-06 11:21:06 +02:00
2019-08-07 07:55:33 +02:00
# optionally define some options
PURE_CMD_MAX_EXEC_TIME=10
prompt pure
2019-05-05 19:24:14 +02:00
alias r="source ~/.zshrc"
alias up="sudo apt update"
alias i="sudo apt install"
alias trz="trezor-agent"
2019-05-05 22:50:37 +02:00
alias gs="git status"
alias phx="iex -S mix phx.server"
2019-08-07 07:55:33 +02:00
alias tunnel="trz -v root@tunnel.inhji.de -- ssh -R 1337:localhost:4000 root@tunnel.inhji.de"