Skip to content

Load symlink custom files #1126

Merged
merged 1 commit into from Jun 22, 2012

10 participants

@natsumesou

(.) search only real files.
The deletion of it enables searching symlink *.zsh files

@natsumesou natsumesou Load symlink custom files
    `(.)` search only real files.
    The deletion of it enables searching symlink *.zsh files
61c39b5
@natsumesou

relational commit
51c55ad

@kreeger
kreeger commented May 23, 2012

Gotta add my +1, here, as the latest update of Oh My Zsh has borked the loading of my custom, symlinked-in .zsh scripts.

@forest
forest commented May 23, 2012

+1

@jonseaberg

+1

@simeonwillbanks

+1 My symlinked dotfiles are no longer sourced!

$ l /Users/simeon/.oh-my-zsh/custom/lessonplanet.zsh
lrwxr-xr-x 1 simeon staff 69 Mar 16 10:33 /Users/simeon/.oh-my-zsh/custom/lessonplanet.zsh -> /Users/simeon/Repositories/dotfiles/oh-my-zsh/custom/lessonplanet.zsh

$ l /Users/simeon/.oh-my-zsh/custom/simeon.zsh
lrwxr-xr-x 1 simeon staff 63 Mar 16 10:33 /Users/simeon/.oh-my-zsh/custom/simeon.zsh -> /Users/simeon/Repositories/dotfiles/oh-my-zsh/custom/simeon.zsh

BEFORE 51c55ad
$ for config_file ($ZSH_CUSTOM/*.zsh) echo $config_file
/Users/simeon/.oh-my-zsh/custom/example.zsh
/Users/simeon/.oh-my-zsh/custom/lessonplanet.zsh
/Users/simeon/.oh-my-zsh/custom/simeon.zsh

AFTER 51c55ad :-1:
$ for config_file ($ZSH_CUSTOM/*.zsh(.N)) echo $config_file
/Users/simeon/.oh-my-zsh/custom/example.zsh

PULL REQUEST 61c39b5 :clap:
$ $ for config_file ($ZSH_CUSTOM/*.zsh(N)) echo $config_file
/Users/simeon/.oh-my-zsh/custom/example.zsh
/Users/simeon/.oh-my-zsh/custom/lessonplanet.zsh
/Users/simeon/.oh-my-zsh/custom/simeon.zsh

Here is a temporary fix for everyone: simeonwillbanks/dotfiles@96831b4

@AaronLasseigne

+1

I'm having the same issue with symlinked custom files and this fixed it.

@KristianOellegaard

This affects me as well.

Btw, epic @simeonwillbanks

@jgoulah
jgoulah commented Jun 12, 2012

+1

@ayn
ayn commented Jun 13, 2012

+1, thanks!

@robbyrussell
Owner

Great idea, merging this in. :-)

@robbyrussell robbyrussell merged commit 493238e into robbyrussell:master Jun 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.