Skip to content

Commit

Permalink
fix some paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Stone authored and thepeterstone committed Jun 13, 2024
1 parent 5d3291c commit 69d2a84
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions dot-files/zshrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
ZSH_CUSTOM=$HOME/.zsh_custom
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="terst"
BASE_PATH=$HOME/workspace/thepeterstone/home-sync
ZGEN=$BASE_PATH/lib/zgen


# load zgen
_root=$(\cd $ZSH; \cd `pwd -P`/../..; pwd -P)
source "${_root}/lib/zgen/zgen.zsh"
source "${ZGEN}/zgen.zsh"

# check if there's no init script
if ! zgen saved; then
Expand Down Expand Up @@ -124,8 +119,8 @@ export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
export PATH="$HOME/bin:$HOME/code/home-sync/bin:$PATH" # added by home-sync

# load functions
source ~/workspace/home-sync/bin/zsh/rc-functions
alias rcf='vim ~/workspace/home-sync/bin/zsh/rc-functions && source ~/workspace/home-sync/bin/zsh/rc-functions'
test -e $BASE_PATH/bin/zsh/rc-functions && source $BASE_PATH/bin/zsh/rc-functions
alias rcf="vim $BASE_PATH/bin/zsh/rc-functions && source $BASE_PATH/bin/zsh/rc-functions"

# load local overrides or extensions
[ -e ~/.zshrc-local ] && source ~/.zshrc-local
Expand Down

0 comments on commit 69d2a84

Please sign in to comment.