@jswork/ushell-module-base 1.0.13 → 1.0.16

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/index.sh CHANGED
@@ -12,7 +12,9 @@ PS1="\[[\e[1;32m\]\u\[\e[m\]\[\e[1;36m\]@\[\e[m\]\[\e[1;35m\]\h\[\e[m\]:\w]\n\$
12
12
  source $ROOT_PATH/modules/cd.sh;
13
13
  source $ROOT_PATH/modules/chmod.sh;
14
14
  source $ROOT_PATH/modules/chown.sh;
15
+ source $ROOT_PATH/modules/ip.sh;
15
16
  source $ROOT_PATH/modules/shorty.sh;
17
+ source $ROOT_PATH/modules/tail.sh;
16
18
 
17
19
  # Edit file
18
20
  alias reload='source $BASH_BASE_PATH/src/index.sh';
@@ -21,7 +23,8 @@ alias bakup='cd ~/github/macos-backup/ && gg "feat(daily): automatic backup mac
21
23
  ## aliases:
22
24
  alias cwd="pwd | tr -d '\n' | pbcopy";
23
25
  alias cls='clear';
24
- alias size='du -hs *';
26
+ alias sz='du -hs *';
27
+ alias szz='du -hks';
25
28
  alias count='ls | wc -l';
26
29
 
27
30
  unset ROOT_PATH;
package/modules/ip.sh ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # server ip
4
+ export SERVER_IP=`wget -qO- ipecho.net/plain`;
package/modules/shorty.sh CHANGED
@@ -22,3 +22,6 @@ alias g='cd ~/github';
22
22
 
23
23
  # v
24
24
  alias v="vim";
25
+
26
+ # ssh
27
+ alias h="ssh"
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env bash
2
+
3
+ alias tf="tail -f"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/ushell-module-base",
3
- "version": "1.0.13",
3
+ "version": "1.0.16",
4
4
  "description": "Unix like shell base module.",
5
5
  "main": "index.sh",
6
6
  "repository": {