mirror of https://github.com/Chizi123/Dotfiles.git

Joel Grunbaum
2020-06-01 cd3ca3fcd2e5121b197fc67504b637b301c30044
Broke the makefile into groups, added bashrc
4 files modified
1 files added
1 files renamed
50 ■■■■■ changed files
Makefile 35 ●●●●● patch | view | raw | blame | history
README.org 2 ●●●●● patch | view | raw | blame | history
all-shells/.commonshell patch | view | raw | blame | history
aspell/.aspell.en.pws 4 ●●● patch | view | raw | blame | history
bash/.bashrc 7 ●●●●● patch | view | raw | blame | history
emacs/.emacs.d @ b0ee5f 2 ●●● patch | view | raw | blame | history
Makefile
@@ -17,7 +17,12 @@
UNINSTALL_TARGETS = $(TARGETS:=-uninstall)
# List of all applications with stored dotfiles
CONFIGS = aspell emacs git libinput-gestures mailcap mpd ncmpcpp rtv shells wallpaper-reddit zsh
SHELLS = bash zsh all-shells
UTILS = emacs git aspell
FUN = mpd ncmpcpp mailcap rtv
DESKTOP = libinput-gestures wallpaper-reddit
CONFIGS = $(SHELLS) $(UTILS) $(FUN) $(DESKTOP)
all: help
@@ -28,6 +33,30 @@
.PHONY: $(CONFIGS:=-del)
$(CONFIGS:=-del):
    $(STOW) --delete -t $(HOME) $(@:-del=)
.PHONY: shells
shells: $(SHELLS)
.PHONY: shells-uninstall
shells-uninstall: $(SHELLS:=-del)
.PHONY: utils
utils: $(UTILS)
.PHONY: utils-uninstall
utils-uninstall: $(UTILS:=-del)
.PHONY: fun
fun: $(FUN)
.PHONY: fun-uninstall
fun-uninstall: $(FUN:=-del)
.PHONY: desktop
desktop: $(DESKTOP)
.PHONY: desktop-uninstall
desktop-uninstall: $(DESKTOP:=-del)
.PHONY: $(INSTALL_TARGETS)
$(INSTALL_TARGETS): $(CONFIGS)
@@ -40,3 +69,7 @@
    $(ECHO) 'use make "target"'
    $(ECHO) 'targets:'
    $(ECHO)    '    home(-uninstall)'
    $(ECHO) '    shells(-uninstall)'
    $(ECHO) '    utils(-uninstall)'
    $(ECHO) '    fun(-uninstall)'
    $(ECHO) '    desktop(-uninstall)'
README.org
@@ -10,4 +10,6 @@
The dotfiles are managed using GNU Stow and can be restored using make.
Just use ~make home~ to set up the files.
If only part of the dotfiles are wanted, they are grouped into various parts I think make sense.
Have a look at the makefile for the groups.
Credit to Peter Zuger for the idea, his dotfiles can be found [[https://gitlab.com/peterzuger/dotfiles][here]].
all-shells/.commonshell
aspell/.aspell.en.pws
@@ -1,10 +1,11 @@
personal_ws-1.1 en 20
personal_ws-1.1 en 22
DNS
FPGA
GPIO
Grunbaum
SODIMM
config
dotfiles
fortifiable
impedances
inductor
@@ -12,6 +13,7 @@
inductors
invariance
journaling
makefile
math
optimality
preconfigured
bash/.bashrc
New file
@@ -0,0 +1,7 @@
# Prompt, no colours to differentiate it from zsh
PS1="[\u@\h \W]\$ "
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
source /home/joel/.commonshell
source /usr/share/doc/pkgfile/command-not-found.bash
[ -r /usr/share/bash-completion/bash_completion   ] && . /usr/share/bash-completion/bash_completion
emacs/.emacs.d
@@ -1 +1 @@
Subproject commit a428a2903e6a94c5f08a57599b6e2c6861c85107
Subproject commit b0ee5f8ba34e6a7521727c090476fbe2f5b78b1f