www.fgks.org   »   [go: up one dir, main page]

Skip to content

jmigual/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Repo containing my personal files and environment. If you want to use it do the following:

On Windows:

'$params = "-b ~/.local/bin init --apply --force jmigual"', (irm https://chezmoi.io/get.ps1) | powershell -c -

On Linux/Unix:

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

Packages

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

  • Windows:
    • Required:
    • Recommended:
      • less (scoop)
      • nodejs-lts (scoop)
      • cmake (scoop)
      • fd (scoop)
      • ripgrep (scoop)
      • bat (scoop)
      • OpenSSH (winget)
      • fzf (scoop)
      • PowerShell modules:
        • Terminal-Icons (Install-Module -Name Terminal-Icons -Repository PSGallery)
        • PSFzf (Install-Module -Name PSFzf)
  • Linux / Unix:
    • Required:
      • zsh
      • fish
      • socat
      • git
      • fortune
      • cowsay
      • ss
      • starship (source)
    • Recommended:

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.

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