From 1beb40c96cc4e297ad11fdba01a141f27808a25b Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Wed, 5 Feb 2020 16:27:59 +0100 Subject: [PATCH] fdignore, gitignore, cleaning dir structure --- conf/fdignore | 23 +++++++++++++++++++++++ conf/gitignore | 11 +++++++++++ tmux.conf => conf/tmux.conf | 0 gitignore | 33 --------------------------------- install.sh | 8 +++++++- 5 files changed, 41 insertions(+), 34 deletions(-) create mode 100644 conf/fdignore create mode 100644 conf/gitignore rename tmux.conf => conf/tmux.conf (100%) delete mode 100644 gitignore diff --git a/conf/fdignore b/conf/fdignore new file mode 100644 index 0000000..5684e48 --- /dev/null +++ b/conf/fdignore @@ -0,0 +1,23 @@ +*.pyc +*.pyo +__pycache__ +*.a +*.o +*.bak +*.swp +*~ +*.egg-info +.CFUserTextEncoding +.zcompdump* +.zsh_history +.CFUserTextEncoding +.fdignore +.gitignore +.DS_Store +.huslogin +/vim/.netrwhist +Music +Movies +Library +Pictures +_venv diff --git a/conf/gitignore b/conf/gitignore new file mode 100644 index 0000000..89076c1 --- /dev/null +++ b/conf/gitignore @@ -0,0 +1,11 @@ +*.pyc +*.pyo +__pycache__ +*.a +*.o +*.bak +*.swp +*~ +*.egg-info +.DS_Store +/vim/.netrwhist diff --git a/tmux.conf b/conf/tmux.conf similarity index 100% rename from tmux.conf rename to conf/tmux.conf diff --git a/gitignore b/gitignore deleted file mode 100644 index c236139..0000000 --- a/gitignore +++ /dev/null @@ -1,33 +0,0 @@ -# Compiled Python scripts -*.pyc -*.pyo -__pycache__ -# Compiled Java classes -*.class -# Compiled C files -*.a -*.o -# SQLite databases -*.db -*.sqlite -# Temporary or runtime files -*.old -*.bak -*.swp -*.swo -*.swn -*.local -*.log -*.pid -*.cache -*.orig -*~ -.sass-cache -# Python Sphinx and setuptools files -/doc/_build -/build -/dist -*.egg-info -# Mac OS X specific -.DS_Store -/vim/.netrwhist diff --git a/install.sh b/install.sh index 8582ffc..7ac9c97 100644 --- a/install.sh +++ b/install.sh @@ -20,9 +20,15 @@ ln -sf ~/.dotfiles/vim/init.vim ~/.vimrc # cleaning rm -rf ~/.gitignore # installing -ln -sf ~/.dotfiles/gitignore ~/.gitignore +ln -sf ~/.dotfiles/conf/gitignore ~/.gitignore git config --global core.excludesfile ~/.gitignore +## .fdignore +# cleaning +rm -rf ~/.fdignore +# installing +ln -sf ~/.dotfiles/conf/fdignore ~/.fdignore + ## tmux # cleaning rm -rf ~/.tmux.conf