This commit is contained in:
Daniel Bauer
2019-04-09 11:05:59 +02:00
4 changed files with 52 additions and 18 deletions

View File

@@ -43,6 +43,22 @@ if [ ! -d "$HOME/.marker" ]; then
$HOME/.marker/install.py $HOME/.marker/install.py
fi fi
# fasd
if [ ! -d "$HOME/bin" ]; then
mkdir -p $HOME/bin
fi
if [ ! -f "$HOME/bin/fasd" ]; then
echo "Installing fasd"
wget https://raw.githubusercontent.com/clvv/fasd/master/fasd
mv fasd $HOME/bin/fasd
chmod +x $HOME/bin/fasd
fi
# vundle
if [ ! -d "$HOME/.vim/bundle" ]; then
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
fi
# linking dotfiles # linking dotfiles
$HOME/.dotfiles/dotfiles.sh link base $HOME/.dotfiles/dotfiles.sh link base

27
profiles/base/.antigenrc Normal file
View File

@@ -0,0 +1,27 @@
antigen use oh-my-zsh --debug
# 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,30 +1,21 @@
if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/local/lib/python2.7/dist-packages/powerline/bindings/zsh/powerline.zsh
fi
# Change default zim location
export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
# Start zim
[[ -s ${ZIM_HOME}/init.zsh ]] && source ${ZIM_HOME}/init.zsh [[ -s ${ZIM_HOME}/init.zsh ]] && source ${ZIM_HOME}/init.zsh
if [ -z "$GMXRC" ]; then
GMXRC="/opt/gromacs-2018/bin/GMXRC.bash"
fi
source $GMXRC
# source $HOME/bin/antigen.zsh
# antigen init $HOME/.antigenrc
# source other dotfiles # source other dotfiles
source $HOME/.environment source $HOME/.environment
if [ -f "$HOME/.environment.local" ]; then if [ -f "$HOME/.environment.local" ]; then
source $HOME/.environment.local source $HOME/.environment.local
fi fi
source $HOME/.aliases source $HOME/.aliases
source $HOME/.functions source $HOME/.functions
if [ -z "$GMXRC" ]; then
GMXRC="/opt/gromacs-2018/bin/GMXRC"
fi
source $GMXRC
# config specific to this machine # config specific to this machine
if [ -f $HOME/.zshrc_local ]; then if [ -f $HOME/.zshrc_local ]; then
source $HOME/.zshrc_local source $HOME/.zshrc_local

View File

@@ -1,5 +1,5 @@
# general environment # general environment
bg_color black bg_color white
#space cmyk #space cmyk
set fetch_path, /tmp set fetch_path, /tmp
log_open /tmp/pymol_log.pml log_open /tmp/pymol_log.pml