summary refs log tree commit diff stats
path: root/zsh/zshrc
diff options
context:
space:
mode:
authorAlan Pearce2013-08-02 10:32:18 +0100
committerAlan Pearce2013-08-02 10:32:18 +0100
commitcfc894f238825d3c7079eae2c6d9fb7798a0d0be (patch)
treee7fe7d5d4b68e387784a92684d78fb5d3b269e53 /zsh/zshrc
parent1e5ba0b55f289e00d9c78683b79aefc9fd55f4e2 (diff)
parent1ba96a0584267853ff15e255bfae7afb39bceb7c (diff)
downloadnixfiles-cfc894f238825d3c7079eae2c6d9fb7798a0d0be.tar.lz
nixfiles-cfc894f238825d3c7079eae2c6d9fb7798a0d0be.tar.zst
nixfiles-cfc894f238825d3c7079eae2c6d9fb7798a0d0be.zip
Merge branch 'master' of home:dotfiles
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 ...='../..'