diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-08-30 09:12:34 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-08-30 09:12:34 +0800 |
commit | 9a2f5d99d66b27f4ffd1c2c47120b3d3a1cc9009 (patch) | |
tree | b1d3c3b25ca037cc981e966dc7e7492c3aebd04a | |
parent | 816161a69aecf910cc09b45927044ba59e39e99e (diff) |
update
-rw-r--r-- | alias | 3 | ||||
-rwxr-xr-x | tools/init/load-settings.sh | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -42,6 +42,7 @@ alias gg='gist grep' | |||
42 | alias chmodx='sudo chmod +x' | 42 | alias chmodx='sudo chmod +x' |
43 | alias s='sudo systemctl' | 43 | alias s='sudo systemctl' |
44 | alias j='sudo journalctl -xe' | 44 | alias j='sudo journalctl -xe' |
45 | alias ju='sudo journalctl -u' | ||
45 | alias path="echo $PATH" | 46 | alias path="echo $PATH" |
46 | alias fd="echo /proc/$$/fd; ls -l /proc/$$/fd" | 47 | alias fd="echo /proc/$$/fd; ls -l /proc/$$/fd" |
47 | alias src="source $HOME/.$(basename $SHELL)rc" | 48 | alias src="source $HOME/.$(basename $SHELL)rc" |
@@ -86,7 +87,7 @@ alias ysi='yay -Si' | |||
86 | alias pss='pacman -Ss' | 87 | alias pss='pacman -Ss' |
87 | alias yss='yay -Ss' | 88 | alias yss='yay -Ss' |
88 | alias pqi='pacman -Qi' | 89 | alias pqi='pacman -Qi' |
89 | alias pql='pacman -Qlq | grep /usr/bin' | 90 | alias pql='pacman -Qlq' |
90 | alias yql='yay -Ql' | 91 | alias yql='yay -Ql' |
91 | alias pf='pacman -F' | 92 | alias pf='pacman -F' |
92 | alias yf='yay -F' | 93 | alias yf='yay -F' |
diff --git a/tools/init/load-settings.sh b/tools/init/load-settings.sh index 924559b..a65e13f 100755 --- a/tools/init/load-settings.sh +++ b/tools/init/load-settings.sh | |||
@@ -22,6 +22,9 @@ find $BIN_DIR -xtype l | xargs rm 2>/dev/null || true | |||
22 | find $SETTING_DIR/tools -type f -executable | \ | 22 | find $SETTING_DIR/tools -type f -executable | \ |
23 | xargs realpath | xargs -I{} ln -sf {} $BIN_DIR | 23 | xargs realpath | xargs -I{} ln -sf {} $BIN_DIR |
24 | 24 | ||
25 | |||
26 | MAIL=$HOME/Maildir | ||
27 | |||
25 | # load custom functions | 28 | # load custom functions |
26 | OSM_UTIL_DIR=$SETTING_DIR/tools/osm | 29 | OSM_UTIL_DIR=$SETTING_DIR/tools/osm |
27 | source $OSM_UTIL_DIR/osm | 30 | source $OSM_UTIL_DIR/osm |