Browse Source

fix vl alias

pull/1/head
10sr 12 years ago
parent
commit
11d7df5926
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      bashrc

+ 6
- 1
bashrc View File

@@ -81,7 +81,6 @@ iswindows && alias grep="grep -n"
# alias la="ls -A" # alias la="ls -A"
# alias lla="ls -Al" # alias lla="ls -Al"
# alias less="" # alias less=""
# alias vl=/usr/share/vim/vimcurrent/macros/less.sh
alias em="emacs -nw" alias em="emacs -nw"
null type vim && alias vi=vim null type vim && alias vi=vim
alias pstree="LANG=C pstree" alias pstree="LANG=C pstree"
@@ -122,6 +121,12 @@ alias aptin="apt-get install"
alias aptsearch="apt-cache search" alias aptsearch="apt-cache search"
alias aptshow="apt-cache show" 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 alias yt=yaourt
null type pacman-color && { null type pacman-color && {
alias pacman=pacman-color alias pacman=pacman-color


Loading…
Cancel
Save