usr

Modulate your userpace into POSIX-compliant shell scripts!
git clone git://clone.theohenson.com/usr.git
Log | Files | Refs | README

commit c0aeaf5cc8b943b4679c76b61ad2eb7de4862160
parent feb9eb0b898bbed769b888ab94a1e350f7afef9f
Author: Theo Henson <[email protected]>
Date:   Tue, 17 Nov 2020 22:22:36 -0500

Improve directories

Diffstat:
Mhome/.vim/vimrc | 3+++
Mmodules/theo_dirs.mod.sh | 8++++++++
2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/home/.vim/vimrc b/home/.vim/vimrc @@ -30,6 +30,9 @@ set nocompatible " Clean up ~ set viminfo=%,<800,'10,/50,:100,h,f0,n~/.vim/info +set backupdir=~/.vim/cache//,. +set directory=~/.vim/cache//,. +set undodir=~/.vim/cache//,. " Make backspace be handled nicely set backspace=2 diff --git a/modules/theo_dirs.mod.sh b/modules/theo_dirs.mod.sh @@ -9,6 +9,9 @@ theo_dirs_add() { mkdir -p "$HOME"/src/git/ghw mkdir -p "$HOME"/src/git/ghf mkdir -p "$HOME"/src/git/ghf + mkdir -p "$HOME"/.local/bin/opt + mkdir -p "$HOME"/.local/share + mkdir -p "$HOME"/.config printf "theo_dirs: copying some wallpapers\n" cp --remove-destination "$USR_DIR"/home/av/wall/bg1.jpg "$HOME"/av/wall/bg1.jpg cp --remove-destination "$USR_DIR"/home/av/wall/bg2.jpg "$HOME"/av/wall/bg2.jpg @@ -27,6 +30,11 @@ theo_dirs_remove() { rmdir "$HOME"/src/git/ghf rmdir "$HOME"/src/git rmdir "$HOME"/src + rmdir "$HOME"/.local/bin/opt + rmdir "$HOME"/.local/bin + rmdir "$HOME"/.local/share + rmdir "$HOME/.local" + rmdir "$HOME"/.config } theo_dirs_info() {