From b22fa3e32348d1992fb4af1ad6993f57b4e4be91 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Mon, 16 Oct 2017 03:53:01 -0400 Subject: [PATCH] Organized files into folders. --- .bash_aliases => dotfiles/.bash_aliases | 0 .bashrc => dotfiles/.bashrc | 0 .inputrc => dotfiles/.inputrc | 0 .vimrc => dotfiles/.vimrc | 2 +- set-from-git.sh => scripts/set-from-git.sh | 6 +++--- symlink.sh => scripts/symlink.sh | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename .bash_aliases => dotfiles/.bash_aliases (100%) rename .bashrc => dotfiles/.bashrc (100%) rename .inputrc => dotfiles/.inputrc (100%) rename .vimrc => dotfiles/.vimrc (97%) rename set-from-git.sh => scripts/set-from-git.sh (57%) rename symlink.sh => scripts/symlink.sh (100%) diff --git a/.bash_aliases b/dotfiles/.bash_aliases similarity index 100% rename from .bash_aliases rename to dotfiles/.bash_aliases diff --git a/.bashrc b/dotfiles/.bashrc similarity index 100% rename from .bashrc rename to dotfiles/.bashrc diff --git a/.inputrc b/dotfiles/.inputrc similarity index 100% rename from .inputrc rename to dotfiles/.inputrc diff --git a/.vimrc b/dotfiles/.vimrc similarity index 97% rename from .vimrc rename to dotfiles/.vimrc index 7cbc41c..36b66b5 100644 --- a/.vimrc +++ b/dotfiles/.vimrc @@ -12,7 +12,7 @@ set relativenumber syntax on -set tabstop=8 +set tabstop=4 set autoindent " 'h/u3/c7/05/mokkar/.vim/plugged' diff --git a/set-from-git.sh b/scripts/set-from-git.sh similarity index 57% rename from set-from-git.sh rename to scripts/set-from-git.sh index c5e0837..070be74 100644 --- a/set-from-git.sh +++ b/scripts/set-from-git.sh @@ -1,9 +1,9 @@ files=".bash_aliases .bashrc .inputrc .vimrc" -dir=~/my-dotfiles +dir=~/linux-config/dotfiles # mkdir $dir for file in $files; do - rm ~/$file - ln -s $dir/$file ~/$file + rm ~/$file + ln -s $dir/$file ~/$file done diff --git a/symlink.sh b/scripts/symlink.sh similarity index 100% rename from symlink.sh rename to scripts/symlink.sh