Remove base-linux/base-osx and use chezmoi templates

main
Buddy Sandidge 2 years ago
parent 4dff6612a8
commit 0203957b9e

@ -1,15 +0,0 @@
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
XDG_DESKTOP_DIR="$HOME/desktop"
XDG_DOCUMENTS_DIR="$HOME/documents"
XDG_DOWNLOAD_DIR="$HOME/downloads"
XDG_MUSIC_DIR="$HOME/music"
XDG_PICTURES_DIR="$HOME/pictures"
XDG_PODCAST_DIR="$HOME/podcasts"
XDG_PUBLICSHARE_DIR="$HOME/public"
XDG_TEMPLATES_DIR="$HOME/templates"
XDG_VIDEOS_DIR="$HOME/videos"

@ -1,2 +0,0 @@
#shellcheck disable=SC2034
CLICOLOR=1

@ -1,15 +0,0 @@
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_PODCAST_DIR="$HOME/Podcasts"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_VIDEOS_DIR="$HOME/Movies"

@ -1,2 +1,4 @@
{{ if eq .chezmoi.os "darwin" -}}
#shellcheck disable=SC2034 #shellcheck disable=SC2034
BASH_SILENCE_DEPRECATION_WARNING=1 BASH_SILENCE_DEPRECATION_WARNING=1
{{- end }}

@ -0,0 +1,4 @@
{{ if eq .chezmoi.os "darwin" -}}
#shellcheck disable=SC2034
CLICOLOR=1
{{- end }}

@ -0,0 +1,29 @@
{{- if or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin") -}}
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
{{ if eq .chezmoi.os "linux" -}}
XDG_DESKTOP_DIR=$HOME/desktop
XDG_DOCUMENTS_DIR=$HOME/documents
XDG_DOWNLOAD_DIR=$HOME/downloads
XDG_MUSIC_DIR=$HOME/music
XDG_PICTURES_DIR=$HOME/pictures
XDG_PODCAST_DIR=$HOME/podcasts
XDG_PUBLICSHARE_DIR=$HOME/public
XDG_TEMPLATES_DIR=$HOME/templates
XDG_VIDEOS_DIR=$HOME/videos
{{- else if eq .chezmoi.os "darwin" -}}
XDG_DESKTOP_DIR=$HOME/Desktop
XDG_DOCUMENTS_DIR=$HOME/Documents
XDG_DOWNLOAD_DIR=$HOME/Downloads
XDG_MUSIC_DIR=$HOME/Music
XDG_PICTURES_DIR=$HOME/Pictures
XDG_PODCAST_DIR=$HOME/Podcasts
XDG_PUBLICSHARE_DIR=$HOME/Public
XDG_TEMPLATES_DIR=$HOME/Templates
XDG_VIDEOS_DIR=$HOME/Movies
{{- end -}}
{{- end }}

@ -0,0 +1,3 @@
{{ if eq .chezmoi.os "linux" -}}
en_US
{{- end }}

@ -0,0 +1,3 @@
{{ if lookPath "dircolors" -}}
eval "$(dircolors -b)"
{{- end }}
Loading…
Cancel
Save