annotate bin/install-vim-rails @ 657:91d7c2e5936c

Remove need to manually switch directory with sud
author nanaya <me@nanaya.pro>
date Sun, 25 Jul 2021 21:36:52 +0900
parents 214df22d4d9e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
426
9f6474336dcc Added vim-rails installer script.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 #!/bin/sh
9f6474336dcc Added vim-rails installer script.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2
9f6474336dcc Added vim-rails installer script.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 set -e
427
c9a2db197010 -u, duh.
Edho Arief <edho@myconan.net>
parents: 426
diff changeset
4 set -u
426
9f6474336dcc Added vim-rails installer script.
Edho Arief <edho@myconan.net>
parents:
diff changeset
5
9f6474336dcc Added vim-rails installer script.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 (
9f6474336dcc Added vim-rails installer script.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 cd ~/.vim/bundle
428
214df22d4d9e Ensure there's no vim-rails already installed.
Edho Arief <edho@myconan.net>
parents: 427
diff changeset
8 test -d vim-rails || git clone git://github.com/tpope/vim-rails.git
426
9f6474336dcc Added vim-rails installer script.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9 )