Skip to content

my humble dotfiles, confs, and other shell scripts.

License

Notifications You must be signed in to change notification settings

mfirhas/dotfiles

Repository files navigation

my humble dot files

contains configurations and scripts.

most things installed and manage through homebrew, some manually installed through script or some kind of installer.

dir .config: resides inside $HOME/ dir, some configured from .zshrc, some read directly. dir .cargo : resides inside $HOME/ dir, DO NOT move all of its contents as some might contain secrets.

flow:

  • In a new device(mac), configs need to be placed in its place manually. E.g. .config placed inside $HOME dir.
  • System should be the main source, whenever edits made in system configs, backup them with backup.sh script.
  • Whenever there's new or movements of configs locations, make sure to adjust the backup.sh so that changes reflected in new configs or their new places.

Brewfile: All things managed by Homebrew are inside this file, install them by running:

brew bundle install

Setup:

Scripts:

  • Add x permission to scripts inside bin/ dir: chmod +x *

Helix:

  • local build: cargo install --path helix-term --locked

Rust:

  • Install Rust through rustup
  • Install rust-analyzer via rustup rustup component add rust-analyzer
  • For debugging:
    • Install llvm from homebrew: brew install llvm
    • Create symlink lldb-dap: ln -sf /usr/local/opt/llvm/bin/lldb-dap $GH/dotfiles/bin/lldb-dap

Go:

  • Install Go with homebrew brew install go
  • Install lsp gopls: go install golang.org/x/tools/gopls@latest
  • Install dap dlv: go install github.com/go-delve/delve/cmd/dlv@latest
  • Install lint server golangci-lint-langserver : go install github.com/nametake/golangci-lint-langserver@v0.0.8

Javascript/Typescript:

  • Install LSP server npm install -g typescript-language-server typescript

Java:

  • Install LSP server brew install jdtls

About

my humble dotfiles, confs, and other shell scripts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •