my simple but efficient dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

39 lines
1.1 KiB

# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.dotfiles/oh-my-zsh
export DOTFILES=$HOME/.dotfiles
export PATH=$HOME/.local/bin:$PATH
export NVM_DIR=$HOME/.dotfiles/nvm
# 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 nvm)
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='atom'
fi
if [[ -d $HOME/.cargo ]]; then
source $HOME/.cargo/env
fi
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use # This loads nvm
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"