configs  Check-in [ca0dd11e2d]

Overview
Comment:setup.sh: Set XDG_DATA_HOME and GNUPGHOME
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ca0dd11e2de0a5a05364518475241cc584fe938803b92eb5003218ede6509073
User & Date: js 2023-04-29 22:31:30
Context
2023-04-29
23:06
Include some GNOME settings check-in: 5c42e9b43e user: js tags: trunk
22:31
setup.sh: Set XDG_DATA_HOME and GNUPGHOME check-in: ca0dd11e2d user: js tags: trunk
2023-04-17
09:46
setup.sh: Don't use &> check-in: c06ec26395 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to setup.sh.

10
11
12
13
14
15
16



17
18
19
20
21
22
23
	if [ ! -e "$HOME/$2" ]; then
		echo "Symlinking $HOME/$2 -> $3$rel_dir/$1…"
		ln -s "$3$rel_dir/$1" "$HOME/$2"
	else
		echo "$HOME/$2 already exists, skipping…"
	fi
}




mkdir -p $HOME/.config
have cvs && link_file cvsrc .cvsrc
if have fossil; then
	echo "Setting global fossil settings…"

	fossil set --global autosync 0







>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
	if [ ! -e "$HOME/$2" ]; then
		echo "Symlinking $HOME/$2 -> $3$rel_dir/$1…"
		ln -s "$3$rel_dir/$1" "$HOME/$2"
	else
		echo "$HOME/$2 already exists, skipping…"
	fi
}

export XDG_DATA_HOME="$HOME/.local/share"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"

mkdir -p $HOME/.config
have cvs && link_file cvsrc .cvsrc
if have fossil; then
	echo "Setting global fossil settings…"

	fossil set --global autosync 0