feat: final-ish version
This commit is contained in:
parent
661be1811b
commit
33ee95006d
1 changed files with 14 additions and 0 deletions
14
crates/20-vim/crate.sh
Normal file
14
crates/20-vim/crate.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
describe="Install vim and it's stuff"
|
||||
scripts="@distro @self"
|
||||
|
||||
apply() {
|
||||
[ -e "$HOME/.vimrc" ] || ln files/.vimrc $HOME/.vimrc
|
||||
[ -e "$HOME/.ideavimrc" ] || ln files/.ideavimrc $HOME/.ideavimrc
|
||||
}
|
||||
|
||||
undo() {
|
||||
unlink $HOME/.vimrc
|
||||
unlink $HOME/.ideavimrc
|
||||
}
|
Loading…
Reference in a new issue