Skip to content

jmigual/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

433 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Repo containing my personal configuration files and environment. The files can be setup using chezmoi. If you want to use them do the following:

On Windows:

iex "&{$(irm 'https://get.chezmoi.io/ps1')} -b '~/.local/bin' init --apply --force jmigual"

On Linux/Unix:

sh -c "$(curl -fsLS chezmoi.io/get)" -- -b $HOME/.local/bin init --apply jmigual 

This will download chezmoi in the ~/.local/bin/ folder, initialize the repository and apply the configuration. The configuration will be stored in the ~/.local/share/chezmoi directory.

Packages

These are the list of packages recommended in a system and recommended install source (in parenthesis):

  • Windows:
    • Required:
    • Recommended:
      • scoop: Package manager for windows that doesn't require admin rights
      • less (scoop)
      • nodejs-lts (scoop)
      • cmake (scoop)
      • fd (scoop): better find command
      • ripgrep (scoop): better grep command
      • bat (scoop): better cat command
      • OpenSSH (winget)
      • fzf (scoop)
      • PowerShell modules:
  • Linux / Unix:
    • Required:
      • git
      • fortune (package manager or source)
      • cowsay
      • socat: Required for SSH with Gpg running on Windows
      • ss (apt install iproute2): Idem
      • starship (cargo)
    • Recommended:
      • cargo (comes with rust toolchain)

        curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
      • zsh

      • fish

      • gcc

      • ninja

      • cmake (source)

      • fd-find (cargo): better find command

      • ripgrep (cargo): better grep command

      • bat (cargo): better cat command

      • lsd (cargo): better ls command

      • flamegraph (cargo)

      • pipx (pip)

      • yt-dlp (pipx)

SSH with Gpg

Windows

  • Install Gpg4win
  • Import private key
  • Set environment variable GIT_SSH to C:\Program Files\OpenSSH\ssh.exe
  • Delete environment variable SSH_AUTH_SOCK if set
  • Disable OpenSSH Authentication Agent service
  • Add the following lines to %APPDATA%\gnupg\gpg-agent.conf:
enable-putty-support
enable-ssh-support
enable-win32-openssh-support
  • Run gpg -K --with-keygrip and set the keygrip of the key to %APPDATA%\gnupg\sshcontrol. Make sure that the file has a single ending LF newline.

Linux

  • Import private key
  • List the keys with keygrip: gpg -K --with-keygrip
  • Mark the desired key as "Use-for-ssh": gpg-connect-agent 'keyattr <auth keygrip> Use-for-ssh: true' /bye

Recommendations

Windows

Sometimes the home is set to HOMESHARE (e.g. \\campushome\myuser). To prevent this, you can add the following to the C:\Windows\System32\drivers\etc\hosts file:

campushome 127.0.0.1

LLMs

Tools

  • Claude: LLM with a focus on safety and reliability. It is a good alternative to ChatGPT.

    curl -fsSL https://claude.ai/install.sh | bash

MCPs

Recommended MCPs for LLMs:

  • Serena. MCP with semantic access to files. Install with:

    uv tool install -p 3.13 serena-agent
    serena setup claude-code
  • Contex7: MCP with documentation. Install with:

    npx ctx7 setup
  • rtk: MCP for executing common known commands and save tokens. Install with:

    cargo install --git https://github.com/rtk-ai/rtk
    rtk init -g
  • CodeGraph: MCP for code analysis. Install with:

    npm i -g @colbymchenry/codegraph
    codegraph install
  • Ponytail: Plugin to reduce amount of code written to a minimum that solves the issue. Run inside claude:

    /plugin marketplace add DietrichGebert/ponytail
    /plugin install ponytail@ponytail

About

Personal dotfiles

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Contributors