summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-01-26 10:43:06 +0800
committerZhineng Li <[email protected]>2026-01-26 10:44:19 +0800
commitdd957797d8ed953bcb634bf336aa3f52855f7f68 (patch)
tree636de475bc63b01f15aba91c6a0ea833bf05fb7d /setup.sh
parent85d17ef478a9185445a8dbc6c802ea69fd439e3f (diff)
downloaddotfiles-dd957797d8ed953bcb634bf336aa3f52855f7f68.tar.gz
dotfiles-dd957797d8ed953bcb634bf336aa3f52855f7f68.zip
initialize .tldrrc
- do not update the tldr database when the command help page does not exist locally - prefer manual update for the data
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 117861b..1d91bc9 100755
--- a/setup.sh
+++ b/setup.sh
@@ -55,6 +55,9 @@ if [ ! -e "$HOME/.newsboat" ]; then
ln -s "$dotfiles/.newsboat" "$HOME/.newsboat"
fi
+# Publish config of tldr
+[ -e "$HOME/.tldrrc" ] || ln -s "$dotfiles/.tldrrc" "$HOME/.tldrrc"
+
# Install verion manager for node.js
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash