aboutsummaryrefslogtreecommitdiffstats
path: root/info.yml
blob: 298a0edaaadd54e09ed174267fe496107574e405 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
sections:

  # Installs brew on macOS
  install-brew:
    preconditions:
      os: "macos"
      not-installed:
        - "brew"
    steps:
      - ==: run
        command: "/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\""

  # Install oh-my-zsh
  install-oh-my-zsh:
    tags: ["config"]
    preconditions:
      not-present:
        - ~/.oh-my-zsh
    steps:
      - ==: run
        command: "sh -c \"$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\""

  # Copy zsh configurations
  configure-zsh:
    tags: ["config"]
    directory: "zsh"
    steps:
      - ==: link 
        from: .zshrc
        to: ~/.zshrc
      - ==: run
        command: "mkdir -p ~/.config/zsh"
      - ==: link 
        from: config/aliases.zsh
        to: ~/.config/zsh/aliases.zsh
      - ==: link 
        from: config/environment.zsh
        to: ~/.config/zsh/environment.zsh
      - ==: link 
        from: config/prompt.zsh
        to: ~/.config/zsh/prompt.zsh
      - ==: run
        command: "mkdir -p ~/.config/zsh/other"
    notes:
      - "Remember to change shell to zsh"

  # Copy vim configurations
  configure-vim:
    directory: "vim"
    tags: ["config"]
    steps:
      - ==: run
        command: "mkdir -p ~/.config/nvim/"
      - ==: run
        command: "mkdir -p ~/.config/nvim/lua"
      - ==: link
        from: .vimrc
        to: ~/.vimrc
      - ==: link
        from: nvim/init.lua
        to: ~/.config/nvim/init.lua
      - ==: link
        from: nvim/lua/plugins.lua
        to: ~/.config/nvim/lua/plugins.lua
    notes:
      - "For nvim, run :PackerInstall"
  
  # Install packer.nvim
  install-packer-nvim:
    tags: ["config"]
    steps:
      - ==: run
        command: "git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim"

  # Copy iterm2 configurations for macOS
  configure-iterm2:
    directory: "iterm2"
    tags: ["config"]
    preconditions:
      os: "macosdsakjghajsdhlsjg"

  # Copy iterm2 configurations for macOS
  configure-git:
    directory: "git"
    tags: ["config"]
    steps:
      - ==: link
        preconditions:
          os: "macos"
        from: .gitconfig-macos
        to: ~/.gitconfig
      - ==: link
        from: .gitignore_global
        to: ~/.gitignore_global

  # Copy tmux configurations
  configure-tmux:
    directory: "tmux"
    tags: ["config"]
    steps:
      - ==: link
        from: .tmux.conf
        to: ~/.tmux.conf