From 11d7df59268c0338ddb91e1d329c65684f2381ad Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 5 Jun 2012 12:35:50 +0900 Subject: [PATCH] fix vl alias --- bashrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 3cc0540..3e7c92b 100755 --- a/bashrc +++ b/bashrc @@ -81,7 +81,6 @@ iswindows && alias grep="grep -n" # alias la="ls -A" # alias lla="ls -Al" # alias less="" -# alias vl=/usr/share/vim/vimcurrent/macros/less.sh alias em="emacs -nw" null type vim && alias vi=vim alias pstree="LANG=C pstree" @@ -122,6 +121,12 @@ alias aptin="apt-get install" alias aptsearch="apt-cache search" alias aptshow="apt-cache show" +for f in /usr/share/vim/vimcurrent/macros/less.sh \ + /usr/share/vim/vim73/macros/less.sh +do + test -f $f && alias vl=$f && break +done + alias yt=yaourt null type pacman-color && { alias pacman=pacman-color