OSDN Git Service
(root)
/
alterlinux
/
wfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89465c
)
[update] : Added function to call me
author
hayao
<shun819.mail@gmail.com>
Tue, 22 Dec 2020 13:11:15 +0000
(22:11 +0900)
committer
hayao
<shun819.mail@gmail.com>
Tue, 22 Dec 2020 13:11:52 +0000
(22:11 +0900)
wfa
patch
|
blob
|
history
diff --git
a/wfa
b/wfa
index
cab7f78
..
2d90f01
100755
(executable)
--- a/
wfa
+++ b/
wfa
@@
-85,6
+85,7
@@
declare -A C=()
wfa_version="0.1"
wfa_name="WFA"
wfa_command="wfa"
+wfa_path="$(dirname "$(realpath "${0}")")/$(basename "${0}")"
#-- options (int) --#
option_y_count=0
@@
-698,6
+699,10
@@
run_pacman() {
run_sudo "${pacman_command}" ${@}
}
+wfa() {
+ "${wfa_path}" ${@}
+}
+
# pacmanの引数を追加する
# https://github.com/FascodeNet/aptpac/blob/master/aptpac のADD_OPTION関数を参考
# Usage: add_args [pacman/makepkg/git/gpg/sudo/curl] <args1> <args2>...