summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2013-09-22 18:48:49 +0000
committerAlan Pearce2013-09-22 18:48:49 +0000
commit3ac726df65fda1d27446a53d633a3ae3f4fabe00 (patch)
tree9f951b8a6d932f53b4e38e9a909cc682b178320b /zsh
parentc087c244eec20ae4b76430b5b74fa7c6f32f4cd3 (diff)
downloaddotfiles-3ac726df65fda1d27446a53d633a3ae3f4fabe00.tar.lz
dotfiles-3ac726df65fda1d27446a53d633a3ae3f4fabe00.tar.zst
dotfiles-3ac726df65fda1d27446a53d633a3ae3f4fabe00.zip
zsh: Fix error when no gem-based programs are installed
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index b2005cb..c129e0c 100755
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -10,7 +10,7 @@ then
 		$defpath
 		~/bin
 	)
-	if [[ -d ~/.gem/ruby ]]
+	if [[ -d ~/.gem/ruby/*/bin ]]
 	then
 		path=(
 			$path