File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545
4646touch ~ /.ctrlp
4747
48- vim +PlugInstall +qall
48+ vim -u $INSTALL_DIR /maintenance.vim +PlugInstall +qall
4949
50- command -v ag > /dev/null 2>&1 || printf " It is recommended to install ag, the_silver_searcher.\ngithub: https://github.com/ggreer/the_silver_searcher\ndebian: apt-get install silversearcher-ag\nfedora: dnf install the_silver_searcher\n" ;
51- command -v ctags > /dev/null 2>&1 || printf " It is recommended to install ctags.\ndebian: sudo apt-get install exuberant-ctags\nfedora: dnf install ctags\n" ;
50+ if ! [ -x " $( command -v ag) " ]; then
51+ printf " It is recommended to install ag, the_silver_searcher.\n"
52+ printf " github: https://github.com/ggreer/the_silver_searcher\n"
53+ printf " debian: apt-get install silversearcher-ag\n"
54+ printf " fedora: dnf install the_silver_searcher\n\n"
55+ fi
5256
57+ if ! [ -x " $( command -v ctags) " ]; then
58+ printf " It is recommended to install ctags.\n"
59+ printf " debian: sudo apt-get install exuberant-ctags\n"
60+ printf " fedora: dnf install ctags\n\n"
61+ fi
You can’t perform that action at this time.
0 commit comments