@jswork/ushell-module-base 1.0.42 → 1.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/modules/_mkd.sh CHANGED
@@ -1,5 +1,13 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
+ TARGET_DIR=$HOME/alo7i/daily-works/;
4
+
5
+ # test target dir
6
+ if [[ ! -d $TARGET_DIR ]]; then
7
+ echo "target dir: $TARGET_DIR not exists"
8
+ exit 1
9
+ fi
10
+
3
11
  cd $HOME/alo7i/daily-works/src/$(date +%Y)/$(date +%Y-%m)
4
12
 
5
13
  # this weekday
package/modules/shorty.sh CHANGED
@@ -11,6 +11,8 @@ alias s="npm run start";
11
11
 
12
12
  # list
13
13
  alias l='ls -lhtr';
14
+ alias la='ls -lhtr';
15
+ alias ll='ls -alh';
14
16
 
15
17
  # open/exit
16
18
  alias o="open .";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/ushell-module-base",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "Unix like shell base module.",
5
5
  "main": "index.sh",
6
6
  "repository": {