ENH: opensuse

This commit is contained in:
Matthew Ryan Dillon 2019-02-22 14:35:44 -07:00
parent 2332284d8e
commit 66e3a611e0
6 changed files with 14 additions and 73 deletions

View file

@ -1,7 +1,2 @@
# Matthew Dillon
# matthewrdillon@gmail.com
# Doing this to get around `path_helper`, which reorders my path when I
# least expect it!
# https://github.com/sorin-ionescu/prezto/issues/381
export PATH=$PATH_SAVE:$PATH

View file

@ -76,16 +76,7 @@ cdpath=(
path=(
# miniconda
/opt/miniconda3/bin
# macports
/opt/local/bin
/opt/local/sbin
# xquartz
/opt/X11/bin
# latex
/Library/Tex/texbin
$path
)
export -U PATH

View file

@ -6,7 +6,9 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
source /opt/miniconda3/etc/profile.d/conda.sh
if [[ -s "/opt/miniconda3/etc/profile.d/conda.sh" ]]; then
source /opt/miniconda3/etc/profile.d/conda.sh
fi
# shortcuts
alias mailserver="sudo python -m smtpd -n -c DebuggingServer localhost:25"
@ -19,8 +21,6 @@ alias i="ipython3"
BASE16_SHELL=$HOME/.config/base16-shell/
[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"
alias tmux="TERM=xterm-256color tmux"
# Backup shortcuts (borrowed parts from https://github.com/laurent22/rsync-time-backup
function prune_backups() {
dest_root="/Volumes/field_on_fire/$HOST"
@ -50,6 +50,7 @@ function prune_backups() {
function back_things_up() {
date=$(date +"%Y-%m-%d-%H%M%S")
# TODO: update this...
dest_root="/Volumes/field_on_fire/$HOST"
rsync -azPE \
--stats \