I'm now using stow to manage my config files. This is really helpful to manage each programm separately. You only need to create a folder for each program and store its related file in the same way they would be stored on your machine. Then you only need a single command to create all the symbolic links needed.
stow git
stow tmux
stow ...
stow -S folder_app1, folder_app2
Tips: You can add the flag -v
to activate verbose mode and -n
to preview the action without making any changes.
To unstow (unlink) you need to use the -D
flag.
It's still possible to use the classic way of course. To simlink a file from this repo to the home directory of your user, use this command
ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
(For Arch, you can check the AUR)
Just need to open Lazy and voila! Everything is working straight away.
Clone the tmux plugin manager repository and run the install command: prefix + I
.
Mac OS only:
The keybinding for switching input source is conflicting with my prefix (ctrl + space). Don't forget to go to keyboard settings and change/disable the shortcut.
Install keyd
on your system. (Available on the AUR)
AT Translated Set 2 Keyboard -> built-in MSI keyboard SONiX USB DEVICE -> Epomaker S68 Apple Inc. Apple Internal Keyboard / Trackpad
Verify the name of your input key with sudo keyd -m
.
brew bundle --file ~/.dotfiles/Brewfile install
To get the list of all app installed with Homebrew, use the command:
brew bundle dump --no-lock --force --formula --cask --tap --mas
We specify the repository so that we only get the relevant package inside the Brewfile. This is to avoid having vscode extensions.
For inside tmux, you'll need the pam-reattach
package.
Open the file with this command sudo -e /etc/pam.d/sudo
,
and just copy the two following line
auth optional pam_reattach.so
auth sufficient pam_tid.so