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

export XDG_CONFIG_HOME="$HOME/.config"
mkdir -p "$XDG_CONFIG_HOME"


#------------- shell -------------
ln -s $(pwd)/yazi $XDG_CONFIG_HOME/yazi
ln -s $(pwd)/starship.toml $XDG_CONFIG_HOME/starship.toml
ln -s $(pwd)/wezterm $XDG_CONFIG_HOME/wezterm
mkdir -p "$XDG_CONFIG_HOME/tmux" && ln -s $(pwd)/tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf


#------------ editors ------------
mkdir -p "$XDG_CONFIG_HOME/nvim" && ln -s $(pwd)/nvim $XDG_CONFIG_HOME/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

mkdir -p "$XDG_CONFIG_HOME/lazygit/" && ln -s $(pwd)/lazygit_config.yml $XDG_CONFIG_HOME/lazygit/config.yml


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

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

mkdir -p "$XDG_CONFIG_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

 
 
 

Contributors