mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 21:45:30 +00:00
Merge branch 'master' of https://github.com/danijoo/dotfiles
This commit is contained in:
16
install.sh
16
install.sh
@@ -43,6 +43,22 @@ if [ ! -d "$HOME/.marker" ]; then
|
||||
$HOME/.marker/install.py
|
||||
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
|
||||
$HOME/.dotfiles/dotfiles.sh link base
|
||||
|
||||
|
||||
27
profiles/base/.antigenrc
Normal file
27
profiles/base/.antigenrc
Normal 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
|
||||
@@ -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
|
||||
|
||||
# Start zim
|
||||
[[ -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 $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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# general environment
|
||||
bg_color black
|
||||
bg_color white
|
||||
#space cmyk
|
||||
set fetch_path, /tmp
|
||||
log_open /tmp/pymol_log.pml
|
||||
|
||||
Reference in New Issue
Block a user