- Clone this package to:
~/workspace/dotfiles
(unless you want to modify the dir paths for the scripts) - Create file
~/.private-env
and addSSH_KEY
:
export SSH_KEY=`<my-ssh-key>`
export MY_SCRIPTS_DIR="${HOME}/scripts"
export DOTFILES_PACKAGE_DIR="${HOME}/workspace/dotfiles"
source_zsh_updates # source the zsh updates scripts if already in local
source ${DOTFILES_PACKAGE_DIR}/scripts/zsh_updates.sh # source the same but from package
backup_zsh
: Backup zsh config to~/zsh-backup/
zsh_package_to_local
: Copy(override) files from package to localzsh_local_to_package
: Copy(override) files from local to packageclean_zsh_backups
: Clean~/zsh-backup
Also create zshrc/noGit/foo/Config
dirs to have anything that you could use local but don't want in a public package
If you are using nvchad be sure to move nvim 0.9.0 to ~/.local/bin/
and create a symbolic link, like ln -s $HOME/.local/bin/nvim.appimage $HOME/.local/bin/nvim
source_nvchad_updates # source the nvchad updates scripts if already in local
source ${DOTFILES_PACKAGE_DIR}/scripts/nvchad_updates.sh # source the same but from package
nvchad_package_to_local
: Copy(override) files from package to localnvchad_local_to_package
: Copy(override) files from local to package
source_scripts_updates # source the script updates scripts if already in local
source ${DOTFILES_PACKAGE_DIR}/scripts/scripts_updates.sh # source the same but from package
scripts_package_to_local
: Copy(override) files from package to localscripts_local_to_package
: Copy(override) files from local to package
[TBD]
- Copy file
.tmux.conf
to HOME
Check these if you see any trouble: