2016-08-22 12:04:24 +02:00
|
|
|
# ~/.zshrc
|
|
|
|
|
2020-03-18 08:07:19 +01:00
|
|
|
# May fix a scp bug or two
|
|
|
|
[ -z "$PS1" ] && return
|
|
|
|
|
2020-01-29 11:19:53 +01: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 12:04:24 +02:00
|
|
|
# Path to the dotfiles
|
|
|
|
DOTFILES=$HOME/.config/dotfiles
|
2017-01-23 09:14:38 +01:00
|
|
|
DISABLE_AUTO_UPDATE="true"
|
2016-08-22 12:04:24 +02:00
|
|
|
|
|
|
|
# Path to your oh-my-zsh configuration
|
2020-01-29 11:19:53 +01:00
|
|
|
ZSH=$HOME/.config/ohmyzsh
|
2020-01-29 11:12:01 +01:00
|
|
|
ZSH_CUSTOM=$HOME/.config/dotfiles/zsh/ohmyzsh
|
2016-08-22 12:04:24 +02:00
|
|
|
|
2024-10-19 02:51:02 +02:00
|
|
|
ZSH_THEME="tforgione"
|
2016-08-22 12:04:24 +02:00
|
|
|
|
2019-02-01 15:18:33 +01:00
|
|
|
if [ -f $DOTFILES/zsh/env.zsh ]; then
|
|
|
|
source $DOTFILES/zsh/env.zsh
|
|
|
|
fi
|
|
|
|
|
2016-08-22 12:04:24 +02:00
|
|
|
source $DOTFILES/zsh/config.zsh
|
2017-10-20 10:24:56 +02:00
|
|
|
source $DOTFILES/zsh/path.zsh
|
2016-12-02 09:16:54 +01:00
|
|
|
source $DOTFILES/zsh/exports.zsh
|
2016-08-22 12:04:24 +02:00
|
|
|
source $DOTFILES/zsh/aliases.zsh
|
2024-06-21 17:28:36 +02:00
|
|
|
source $DOTFILES/zsh/preserve-cwd-ssh.zsh
|
2016-08-22 12:04:24 +02:00
|
|
|
|
2017-12-21 10:35:22 +01:00
|
|
|
if [ -f $DOTFILES/zsh/extraconfig.zsh ]; then
|
|
|
|
source $DOTFILES/zsh/extraconfig.zsh
|
|
|
|
fi
|
2019-02-11 17:40:33 +01:00
|
|
|
|
2019-04-17 10:04:40 +02:00
|
|
|
update startup
|