๐Ÿ“ฆ hezhizhen / scripts

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching
๐Ÿ“ฅ Clone https://github.com/hezhizhen/scripts.git
HTTPS git clone https://github.com/hezhizhen/scripts.git
SSH git clone git@github.com:hezhizhen/scripts.git
CLI gh repo clone hezhizhen/scripts
Zhizhen He Zhizhen He fix: update diary format f59f8a2 10 months ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“„ .gitignore
๐Ÿ“„ diary.sh
๐Ÿ“„ Makefile
๐Ÿ“„ onthisday.sh
๐Ÿ“„ playrandomalbum.sh
๐Ÿ“„ README.md
๐Ÿ“„ savealbum.sh
๐Ÿ“„ README.md

scripts

Installation

To use these scripts:

  • clone this repository to somewhere like ~
  • set environment variable SCRIPTSPATH
  • zsh: echo 'export SCRIPTSPATH=$HOME/scripts' >> .zshrc
  • fish: echo 'set -gx SCRIPTSPATH $HOME/scripts' >> ~/.config/fish/config.fish
  • add the directory to $PATH
  • zsh: echo 'export PATH=$PATH:$SCRIPTSPATH' >> .zshrc
  • fish: echo 'set PATH $PATH $SCRIPTSPATH' >> ~/.config/fish/config.fish

Script List

  • [x] diary.sh: generate diary template for the current day
  • [x] onthisday.sh: list all the diaries on this day

Troubleshooting

  • If some scripts couldn't be executed, run chmod +x <script> to grant execution permission.

FAQ

  • .sh suffixes are preserved to avoid naming conflicts.