18dc23b28776

zsh: fix MacVim aliases to work with tmux
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 12 Nov 2010 19:13:56 -0500
parents 6bc9af6eebce
children 662f1676bfb4
branches/tags (none)
files zsh/misc.zsh zsh/tasks.zsh

Changes

--- a/zsh/misc.zsh	Fri Nov 12 19:08:54 2010 -0500
+++ b/zsh/misc.zsh	Fri Nov 12 19:13:56 2010 -0500
@@ -1,7 +1,8 @@
 alias pbc='pbcopy'
 alias pbp='pbpaste'
 
-alias M='mvim .'
+alias M='open -a MacVim .'
+alias m='open -a MacVim'
 
 function mdown () {
     (echo '
--- a/zsh/tasks.zsh	Fri Nov 12 19:08:54 2010 -0500
+++ b/zsh/tasks.zsh	Fri Nov 12 19:13:56 2010 -0500
@@ -1,7 +1,7 @@
 #!/usr/bin/env zsh
 
 alias t='~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=tasks.txt'
-alias m='~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=music.txt'
+alias s='~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=music.txt'
 alias g='~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=groceries.txt'
 alias k='~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=books.txt'
 alias p='~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=pack.txt'