Commit Graph

65 Commits

Author SHA1 Message Date
Aoran Zeng f1557f6e01
Split emacs out 2024-08-09 02:46:25 +08:00
Aoran Zeng 94735c823b
Use simpler log for note2 2024-08-09 01:54:37 +08:00
Aoran Zeng 2d352c3981
Rename cli option macros 2024-08-09 01:49:14 +08:00
Aoran Zeng d310dce76e
Add Dry Run mode 2024-08-09 01:46:58 +08:00
Aoran Zeng b3cbeb2a9a
Use previous log style back 2024-08-08 17:10:07 +08:00
Aoran Zeng c7b65b39f2
Make log prompt1 plain 2024-08-08 16:42:52 +08:00
Aoran Zeng dd4e4ba33b
To log simply 2024-08-08 16:30:38 +08:00
Aoran Zeng 7d86ffc7f6
Log cmd result 2024-08-08 16:25:36 +08:00
Aoran Zeng 95796ede70
Use simple log functions names 2024-08-08 15:52:13 +08:00
Aoran Zeng 8f5423f704
Format in small and add copyright 2024-07-31 12:38:52 +08:00
Aoran Zeng 61690ba5a5
Remove macro comma 2024-07-31 12:11:20 +08:00
Aoran Zeng 305a978e2a
Skip backup when not exist
[GitHub #47]
2024-07-29 21:57:22 +08:00
Aoran Zeng 79342dfb02
Fix typo for RunOpt 2024-07-29 21:43:53 +08:00
Aoran Zeng 4732ed8f5d No echo when writing to file 2024-07-09 14:35:45 +08:00
Aoran Zeng c9fb2c6dff Ensure dir test first 2024-07-09 14:31:34 +08:00
Aoran Zeng 456be10174 Rename to `view_file` 2024-07-09 13:04:37 +08:00
Aoran Zeng fbe6dcd088 Explicit prompt for ensure mkdir 2024-07-09 13:02:06 +08:00
Aoran Zeng 88663c1ff5 Ensure dir silently 2024-07-09 12:47:55 +08:00
Aoran Zeng e2ed66254b Simple backup when macOS
[GitHub link #44]
2024-07-09 10:06:00 +08:00
Aoran Zeng 574df6a5d1 Not show status when back up 2024-07-08 18:31:18 +08:00
鹏起鲸落 c319fa82fc
Fix: `chsrc_get_cpuarch()` and `chsrc_prepend_to_file()`
[GitHub PR #42]

* Fix
- `chsrc_get_cpuarch()`: Use `uname -m` instead of `-p`
- `chsrc_prepend_to_file()`: Add missing space

* Add new contributor
2024-07-06 23:21:59 +08:00
Aoran Zeng 069f5fb827 Add prepend 2024-07-03 13:59:06 +08:00
Aoran Zeng 961111acea Make fatal on error mode default 2024-06-24 21:38:16 +08:00
Aoran Zeng b2597b4e99 Fix: Verify option when chsrc_run fails 2024-06-24 21:07:24 +08:00
Aoran Zeng fcb74cb2ef Get CPU arch 2024-06-21 10:55:43 +08:00
Aoran Zeng 91c94ad012 Update file headers 2024-06-21 01:47:28 +08:00
Aoran Zeng b21fff76a3 No newline when backup 2024-06-14 15:55:41 +08:00
Aoran Zeng 7468c7d0d4 Add parameters for running command 2024-06-14 15:51:54 +08:00
Aoran Zeng 20abe49100 Rename to `chsrc_check_file` 2024-06-14 15:15:59 +08:00
Aoran Zeng eb3d01c72d Rename to `chsrc_confirm_source` 2024-06-14 15:07:04 +08:00
Aoran Zeng dd324a70ba Verify exit status 2024-06-14 15:01:52 +08:00
Aoran Zeng 1e1d8a44bb Ensure external program 2024-06-14 01:02:23 +08:00
Aoran Zeng 3e4ce0df59 `FreeBSD` is not user definable temporarily 2024-06-14 00:29:40 +08:00
Aoran Zeng 18a4142773 Make `pl` and `os` user definable
[GitHub link #33 #29]
2024-06-14 00:20:02 +08:00
Aoran Zeng 92b3446531 Yield source 2024-06-13 23:43:31 +08:00
Aoran Zeng 419168fcf7 Add UserDefine mirror and test Ruby
[GitHub link #33 #29]
2024-06-13 23:27:59 +08:00
Aoran Zeng 6006b42d60 Note when backup 2024-06-13 00:46:01 +08:00
Aoran Zeng 0470137688 Fix typo in `query_file_exist` 2024-06-13 00:41:06 +08:00
Aoran Zeng b86e89ae22 Output checking info when `query_file_exist` 2024-06-13 00:39:31 +08:00
Aoran Zeng 77830a96ed Take a look at file 2024-06-13 00:21:00 +08:00
Aoran Zeng 4896a4c4c3 Move curl testing into `auto_select_` 2024-06-13 00:17:26 +08:00
Aoran Zeng a910733b42 Update file headers 2024-06-11 20:18:02 +08:00
Aoran Zeng 3ac16992af Split function of check remarkably 2024-06-11 18:03:02 +08:00
Aoran Zeng a2dcaf03ed Use new `xy_run` and add a placeholder URL 2024-06-11 17:05:15 +08:00
Aoran Zeng dbb5da8881 Use remarkable info when back up 2024-06-08 15:59:59 +08:00
Aoran Zeng 3240b3d4a2 Not use `itoa` 2024-06-08 15:50:46 +08:00
Aoran Zeng 76e7f76970 Bold the prompt of checking cmd 2024-06-08 15:34:58 +08:00
Aoran Zeng b8b59ba3e1 Use new remarkable log tool when changing
[GitHub link #21]
2024-06-08 15:13:37 +08:00
Aoran Zeng 7337554e53 Really no available sources for `DockerHub`
[Gitee link #I80UDD]
[GitHub link #25]
2024-06-08 14:45:05 +08:00
Aoran Zeng 9522196a30 File an issue anywhere 2024-06-08 13:26:52 +08:00