Skip to content

cncsl/dotfiles

Repository files navigation

dotfiles

Personal configuration files for shell, editors, git, and programming environments.

list

shell utils

editors

develop

git

colorschema

other

commands backup

It's only a backup for myself, please do not execute the following command directly.

ln -s $(pwd)/zshrc $HOME/.zshrc

mkdir -p $HOME/.config

#------------- shell -------------
ln -s $(pwd)/yazi $HOME/.config/yazi
ln -s $(pwd)/starship.toml $HOME/.config/starship.toml
ln -s $(pwd)/wezterm $HOME/.config/wezterm

#------------ editors ------------
mkdir -p $HOME/.config/nvim/
ln -s $(pwd)/nvim $HOME/.config/nvim

ln -s $(pwd)/vimrc $HOME/.vimrc
ln -s $(pwd)/ideavimrc $HOME/.ideavimrc

#-------------- git --------------
ln -s $(pwd)/gitconfig $HOME/.gitconfig
ln -s $(pwd)/gitignore_global $HOME/.gitignore_global

if [ -z "$XDG_CONFIG_HOME" ]; then
  mkdir -p "$HOME/Library/Application\ Support/lazygit/"
  ln -s $(pwd)/lazygit_config.yml "$HOME/Library/Application\ Support/lazygit/config.yml"
else
  mkdir -p "$XDG_CONFIG_HOME/lazygit/"
  ln -s $(pwd)/lazygit_config.yml $XDG_CONFIG_HOME/lazygit/config.yml
fi

#----------- languages -----------
mkdir -p "$HOME/.m2/"
ln -s $(pwd)/lang/java/settings.xml $HOME/.m2/settings.xml

ln -s $(pwd)/npmrc $HOME/.npmrc

mkdir -p "$HOME/.pip/"
ln -s $(pwd)/lang/python/pip.conf $HOME/.config/pip/pip.conf


#----------- others -----------
softwareupdate --install-rosetta

About

dotfiles for my mac

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published