- bash
- git
- intellij
- note
- spacevim
- vim
- nvim
- zsh
Install Stow:
- Fedora
sudo dnf install stow
- Debian based distros:
sudo apt install stow
For more details about the commands use man:
man stow
The 'n' parameter is used for dry run, remove it if happy with the result.
To stow - apply the files (create symlinks in target from this repository):
stow -nvt ~ zsh
or for ALL - not recommended
stow -nvt ~ */
To unstow - delete symlinks and return the files:
stow -vDt ~ */
To initially move and create symlinks from the target files/directories first run and check the output from this command:
stow --adopt -nvt ~ */
There are some preparation needed before applying the configuration files.
Steps:
- Install ZSH oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" - Clone and install zsh-syntax-highlighting
- Clone and install zsh-autosuggestions
Use man gpg for convenience.
Backup keys:
gpg --export-secret-keys --output backup
Restore keys from file:
gpg --import backup
Using ansible-vault to encrypt the file for better security:
$ANSIBLE_VAULT;1.1;AES256
ansible-vault encrypt backup
...
ansible-vault decrypt backup