all repos — nixfiles @ d3153b6ab5345002e270bde86857ce17a75c2a93

System and user configuration, managed by nix and home-manager

zsh: Use clearer process substitution syntax
Alan Pearce alan@alanpearce.co.uk
Mon, 30 Jun 2014 10:21:28 +0100
commit

d3153b6ab5345002e270bde86857ce17a75c2a93

parent

cb8f445e6671043318e13243571ae5d3cca94220

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M tag-zsh/config/zsh/zshrctag-zsh/config/zsh/zshrc
@@ -346,7 +346,7 @@ } 
 ec () {
 	local frameNeeded
-	frameNeeded=`emacsclient -e '(> (if (daemonp) 2 1) (length (visible-frame-list)))'`
+	frameNeeded=$(emacsclient -e '(> (if (daemonp) 2 1) (length (visible-frame-list)))')
 	if [[ $? -ne 0 ]]; then
 		print "Daemon not running"
 		return 1