Skip to content

A cross-shell plugin and package manager, heavily inspired by zinit

Notifications You must be signed in to change notification settings

orbiter-rs/orbiter

Repository files navigation

orbiter

A cross-shell plugin and package manager, heavily inspired by zinit Supports only macos, linux atm, Windows support planned

Example ~/.orbiter.config.yml

- id: neovim
  resource:
    repo: neovim/neovim
    from_release: true
  exec: '**/bin/nvim'
  load: 'export VISUAL=nvim; export EDITOR="$VISUAL"; alias vi="$VISUAL"'

- id: vim-plug
  resource:
    repo: junegunn/vim-plug
  install: 'mkdir -p ~/.local/share/nvim/site/autoload;  ln -sf "$PWD/plug.vim" ~/.local/share/nvim/site/autoload/plug.vim'

- id: starship
  resource:
    repo: starship/starship
    from_release: true
  exec: '**/starship'
  install:
    zsh: '**/starship init zsh > init-starship.zsh'
  src:
    zsh: 'init-starship.zsh'

- id: ripgrep
  resource:
    repo: BurntSushi/ripgrep
    from_release: true
  exec: '**/rg'

- id: zoxide
  resource:
    repo: ajeetdsouza/zoxide
    from_release: true
  exec: '**/zoxide'
  install:
    zsh: '**/zoxide init zsh > init-zoxide.zsh'
    bash: '**/zoxide init bash > init-zoxide.bash'
    fish: '**/zoxide init fish > init-zoxide.fish'
  src:
    zsh: 'init-zoxide.zsh'
  load: 'alias cd=z'

- id: fd
  resource:
    repo: sharkdp/fd
    from_release: true
  exec: '**/fd'
  load: "alias find='fd'"

- id: gitui
  resource:
    repo: extrawurst/gitui
    from_release: true
  exec: '**/gitui'

- id: delta
  resource:
    repo: dandavison/delta
    from_release: true
  exec: '**/delta'
  install: |
    git config --global pager.diff delta
    git config --global pager.log delta
    git config --global pager.reflog delta
    git config --global pager.show delta
    git config --global interactive.diffFilter "delta --color-only --features=interactive"
    git config --global delta.features decorations
    git config --global delta.interactive.keep-plus-minus-markers false
    git config --global delta.decorations.commit-decoration-style "blue ol"
    git config --global delta.decorations.commit-style raw
    git config --global delta.decorations.file-style omit
    git config --global delta.decorations.hunk-header-decoration-style blue box
    git config --global delta.decorations.hunk-header-file-style red
    git config --global delta.decorations.hunk-header-line-number-style "#067a00"
    git config --global delta.decorations.hunk-header-style "file line-number syntax"

- id: exa
  resource:
    repo: ogham/exa
    from_release: true
  exec: '**/exa'
  load: 'alias ls="exa --icons --color always"; alias ll=''ls -la'''

- id: bat
  resource:
    repo: sharkdp/bat
    from_release: true
  exec: '**/bat'
  load: 'alias cat=bat'

- id: bottom
  resource:
    repo: clementtsang/bottom
    from_release: true
  exec: '**/btm'
  load: 'alias top=btm'

- id: zellij
  resource:
    repo: zellij-org/zellij
    from_release: true
  exec: '**/zellij'

- id: direnv
  resource:
    repo: direnv/direnv
    from_release: true
  install:
    zsh: 'mv direnv* direnv; chmod +x ./direnv; ./direnv hook zsh > zhook.zsh'
  src:
    zsh: zhook.zsh
  load: export DIRENV_LOG_FORMAT=""
  exec: '**/direnv'

- id: gh
  resource:
    repo: cli/cli
    from_release: true
  exec: '**/gh'

- id: exercism
  resource:
    repo: exercism/cli
    from_release: true
  exec: '**/exercism'

- id: dprint
  resource:
    repo: dprint/dprint
    from_release: true
  exec: '**/dprint'

- id: fzf
  resource:
    repo: junegunn/fzf-bin
    from_release: true
  exec: '**/fzf'

- id: kind
  resource:
    repo: kubernetes-sigs/kind
    from_release: true
  install: 'mv ./kind* kind; chmod +x ./kind'
  exec: kind

- id: zsh-autosuggestions
  resource:
    repo: zsh-users/zsh-autosuggestions
  src:
    zsh: zsh-autosuggestions.zsh

- id: fast-syntax-highlighting
  resource:
    repo: z-shell/F-Sy-H
  src:
    zsh: f-sy-h.plugin.zsh

Order of Execution

(If not already exist: init -> clone/update -> extract (supports auto extraction of "zip", "tar.gz", "deb") -> install)

(plugin script loading) -> src -> multisrc -> load

About

A cross-shell plugin and package manager, heavily inspired by zinit

Resources

Stars

Watchers

Forks

Packages

No packages published