This commit is contained in:
Daniel Bauer
2019-03-27 11:36:42 +01:00
parent a57831725b
commit bdbc23b481
2 changed files with 37 additions and 11 deletions

28
profiles/base/.antigenrc Normal file
View File

@@ -0,0 +1,28 @@
source $HOME/bin/antigen.zsh
antigen use oh-my-zsh
# bundles
antigen bundle git
antigen bundle zsh-users/zsh-completions
antigen bundle pip
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-history-substring-search
antigen bundle command-not-found
# theme
export TERM="xterm-256color"
DEFAULT_USER=bauer
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh context dir vcs anaconda)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(background_jobs status time)
# Anaconda
POWERLEVEL9K_ANACONDA_RIGHT_DELIMITER='>'
POWERLEVEL9K_ANACONDA_LEFT_DELIMITER='<'
POWERLEVEL9K_ANACONDA_BACKGROUND='24'
POWERLEVEL9K_ANACONDA_FOREGROUND='111'
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
antigen theme bhilburn/powerlevel9k powerlevel9k
antigen apply

View File

@@ -1,23 +1,15 @@
# Change default zim location
export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
# export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
# # [[ -s ${ZIM_HOME}/init.zsh ]] && source ${ZIM_HOME}/init.zsh
# Start zim
[[ -s ${ZIM_HOME}/init.zsh ]] && source ${ZIM_HOME}/init.zsh
source $HOME/.antigenrc
# source other dotfiles
source $HOME/.environment
if [ -f "$HOME/.environment.local" ]; then
source $HOME/.environment.local
fi
source $HOME/.aliases
source $HOME/.functions
if [ -z "$GMXRC" ]; then
GMXRC="/opt/gromacs-2018/bin/GMXRC"
fi
source $GMXRC
# config specific to this machine
if [ -f $HOME/.zshrc_local ]; then
source $HOME/.zshrc_local
@@ -28,3 +20,9 @@ eval "$(fasd --init auto)"
# marker
[[ -s "$HOME/.local/share/marker/marker.sh" ]] && source "$HOME/.local/share/marker/marker.sh"
# gromacs
if [ -z "$GMXRC" ]; then
GMXRC="/opt/gromacs-2018/bin/GMXRC"
fi
source $GMXRC