summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-09-22 18:48:49 +0000
committerAlan Pearce2013-09-22 18:48:49 +0000
commit3ac726df65fda1d27446a53d633a3ae3f4fabe00 (patch)
tree9f951b8a6d932f53b4e38e9a909cc682b178320b
parentc087c244eec20ae4b76430b5b74fa7c6f32f4cd3 (diff)
downloadnixfiles-3ac726df65fda1d27446a53d633a3ae3f4fabe00.tar.lz
nixfiles-3ac726df65fda1d27446a53d633a3ae3f4fabe00.tar.zst
nixfiles-3ac726df65fda1d27446a53d633a3ae3f4fabe00.zip
zsh: Fix error when no gem-based programs are installed
-rwxr-xr-xzsh/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index b2005cbc..c129e0c6 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