diff options
| author | Zhineng Li <[email protected]> | 2026-01-26 10:43:06 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-01-26 10:44:19 +0800 |
| commit | dd957797d8ed953bcb634bf336aa3f52855f7f68 (patch) | |
| tree | 636de475bc63b01f15aba91c6a0ea833bf05fb7d | |
| parent | 85d17ef478a9185445a8dbc6c802ea69fd439e3f (diff) | |
| download | dotfiles-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
| -rw-r--r-- | .tldrrc | 3 | ||||
| -rw-r--r-- | .zshrc | 1 | ||||
| -rwxr-xr-x | setup.sh | 3 |
3 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,3 @@ +{ + "skipUpdateWhenPageNotFound": true +} @@ -27,6 +27,7 @@ alias gpull='git pull' alias dotfiles='cd ~/.dotfiles' alias dl='cd ~/Downloads' alias update='brew update && brew upgrade && brew autoremove && brew cleanup' +alias help='tldr' # Node version manager export NVM_DIR="$HOME/.nvm" @@ -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 |
