-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.homesickrc
38 lines (34 loc) · 1.06 KB
/
.homesickrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/env ruby
module OS
def self.mac?() (/darwin/ =~ RUBY_PLATFORM) != nil end
def self.linux?() (/linux/ =~ RUBY_PLATFORM) != nil end
end
def self.homesick() system("./bootstrap/for_homesick") end
def self.homebrew() system("./bootstrap/for_homebrew") end
def self.fishplugins() system("./bootstrap/for_fish_plugins") end
def self.nodejs() system("./bootstrap/for_nodejs") end
def self.ruby() system("./bootstrap/for_ruby") end
def self.python() system("./bootstrap/for_python") end
def self.golang() system("./bootstrap/for_golang") end
def self.rust() system("./bootstrap/for_rust") end
def self.iterm() system("./bootstrap/for_iterm") end
def self.emacs() system("./bootstrap/for_emacs") end
def self.macos_prefs_symlink() system("./bootstrap/for_macos_prefs_symlink") end
def self.macos_vscode() system("./bootstrap/for_macos_vscode") end
def self.linux_misc() system("./bootstrap/for_linux") end
if OS.mac?
homesick
homebrew
fishplugins
nodejs
ruby
python
golang
rust
iterm
emacs
macos_prefs_symlink
macos_vscode
elsif OS.linux?
linux_misc
end