summary refs log tree commit diff stats
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc')
-rwxr-xr-xzsh/zshrc10
1 files changed, 9 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 938dcbd9..3bf6e3b9 100755
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -10,6 +10,13 @@ then
 		$defpath
 		~/bin
 	)
+	if [[ -d ~/.gem/ruby ]]
+	then
+		path=(
+			$path
+			~/.gem/ruby/*/bin
+		)
+	fi
 fi
 
 if [[ ! -d ~/.zsh/cache ]]
@@ -275,7 +282,8 @@ alias E="SUDO_EDITOR=\emacsclient -c -a emacs\" sudoedit"
 alias aticonfig="DISPLAY=:0 \aticonfig"
 alias wprop='xprop |awk '\''
     /^WM_CLASS/{sub(/.* =/, "instance:"); sub(/,/, "\nclass:"); print}
-    /^WM_NAME/{sub(/.* =/, "title:"); print}'\'''
+    /^WM_NAME/{sub(/.* =/, "title:"); print}
+    /^WM_WINDOW_ROLE/{sub(/.* =/, "role:"); print}'\'''
 
 alias -g ...='../..'