dotfiles/config/zshrc

37 lines
1.0 KiB
Bash

# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.dotfiles/oh-my-zsh
export DOTFILES=$HOME/.dotfiles
export PATH=$HOME/.local/bin:$PATH
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="bureau"
# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(z)
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='atom'
fi
if [[ -d $HOME/.cargo ]]; then
source $HOME/.cargo/env
fi
source $ZSH/oh-my-zsh.sh
alias r="source ~/.zshrc"
alias up="sudo apt update"
alias i="sudo apt install"
alias trz="trezor-agent"
alias gs="git status"
alias phx="iex -S mix phx.server"