update zshrc for macos and linux

This commit is contained in:
Tim Gröger 2023-05-16 21:24:34 +02:00
parent 95e25e6dee
commit 0fdc8a0fec
1 changed files with 9 additions and 3 deletions

12
.zshrc
View File

@ -5,15 +5,21 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
if [[ "$OSTYPE" == "darwin"* ]];then
HOME=/Users/crimsen
else
HOME=/home/crimsen
fi
#export TERM="xterm-256color"
#export TERM="xterm-256color"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH=/home/crimsen/.cargo/bin:$PATH
export PATH=$HOME/.cargo/bin:$PATH
export PATH="$PATH:/home/crimsen/.local/share/JetBrains/Toolbox/scripts:/home/crimsen/.local/bin"
export PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts:$HOME/.local/bin"
# Path to your oh-my-zsh installation.
export ZSH="/home/crimsen/.oh-my-zsh"
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,