2016-08-22 11:04:24 +01:00
|
|
|
# ~/.zshrc
|
|
|
|
|
2020-03-18 07:07:19 +00:00
|
|
|
# May fix a scp bug or two
|
|
|
|
[ -z "$PS1" ] && return
|
|
|
|
|
2020-01-29 10:19:53 +00:00
|
|
|
# Migrates from robbyrussell/oh-my-zsh to ohmyzsh/ohmyzsh
|
|
|
|
# This only needs to stay here temporarily until everyone executed it.
|
|
|
|
if [ -d $HOME/.config/oh-my-zsh ]; then
|
|
|
|
local oldwd=$PWD
|
|
|
|
mv $HOME/.config/oh-my-zsh/ $HOME/.config/ohmyzsh
|
|
|
|
cd $HOME/.config/ohmyzsh
|
|
|
|
git remote set-url origin https://github.com/ohmyzsh/ohmyzsh
|
|
|
|
cd $oldpw
|
|
|
|
fi
|
|
|
|
|
2016-08-22 11:04:24 +01:00
|
|
|
# Path to the dotfiles
|
|
|
|
DOTFILES=$HOME/.config/dotfiles
|
2017-01-23 08:14:38 +00:00
|
|
|
DISABLE_AUTO_UPDATE="true"
|
2016-08-22 11:04:24 +01:00
|
|
|
|
|
|
|
# Path to your oh-my-zsh configuration
|
2020-01-29 10:19:53 +00:00
|
|
|
ZSH=$HOME/.config/ohmyzsh
|
2020-01-29 10:12:01 +00:00
|
|
|
ZSH_CUSTOM=$HOME/.config/dotfiles/zsh/ohmyzsh
|
2016-08-22 11:04:24 +01:00
|
|
|
|
|
|
|
ZSH_THEME="laptop"
|
|
|
|
|
2019-02-01 14:18:33 +00:00
|
|
|
if [ -f $DOTFILES/zsh/env.zsh ]; then
|
|
|
|
source $DOTFILES/zsh/env.zsh
|
|
|
|
fi
|
|
|
|
|
2016-08-22 11:04:24 +01:00
|
|
|
source $DOTFILES/zsh/config.zsh
|
2017-10-20 09:24:56 +01:00
|
|
|
source $DOTFILES/zsh/path.zsh
|
2016-12-02 08:16:54 +00:00
|
|
|
source $DOTFILES/zsh/exports.zsh
|
2016-08-22 11:04:24 +01:00
|
|
|
source $DOTFILES/zsh/aliases.zsh
|
2024-06-21 16:28:36 +01:00
|
|
|
source $DOTFILES/zsh/preserve-cwd-ssh.zsh
|
2016-08-22 11:04:24 +01:00
|
|
|
|
2017-12-21 09:35:22 +00:00
|
|
|
if [ -f $DOTFILES/zsh/extraconfig.zsh ]; then
|
|
|
|
source $DOTFILES/zsh/extraconfig.zsh
|
|
|
|
fi
|
2019-02-11 16:40:33 +00:00
|
|
|
|
2019-04-17 09:04:40 +01:00
|
|
|
update startup
|