Compare commits

...

18 commits

Author SHA1 Message Date
2341905442
log/log
All checks were successful
/ job (push) Successful in 4m32s
2025-07-06 19:22:30 +02:00
fb0513c45f
alias/grep 2025-07-06 19:20:15 +02:00
bec9d22e6e
alias/evince 2025-07-06 19:18:56 +02:00
6671429afe
alias/emacs 2025-07-06 19:18:37 +02:00
fc034aa1b8
alias/clear 2025-07-06 19:17:49 +02:00
216f84c858
alias/mount 2025-07-06 19:17:22 +02:00
3cd761254a
alias/pgrep 2025-07-06 19:16:29 +02:00
8cb5611700
alias/cp 2025-07-06 19:14:57 +02:00
fce1d15e2b
alias/mv 2025-07-06 19:14:33 +02:00
2074ec1d76
alias/rm 2025-07-06 19:14:11 +02:00
871cb98e14
alias/tree 2025-07-06 19:13:41 +02:00
7276d4cfbc
alias/chmod,chown 2025-07-06 19:12:38 +02:00
201ab282b1
alias/mkdir 2025-07-06 19:11:52 +02:00
cffaf01eb6
alias/kill,killall 2025-07-06 19:11:12 +02:00
7e6994c809
alias/nano 2025-07-06 19:10:05 +02:00
0fdc037ed2
alias/pass 2025-07-06 19:09:39 +02:00
352f4bc08c
alias/pwgen 2025-07-06 19:08:54 +02:00
774ffe6cbb
alias/newsboat 2025-07-06 19:07:34 +02:00
20 changed files with 28 additions and 29 deletions

View file

@ -1,5 +1,5 @@
# change mode to directory # change mode to directory
cmd() { a__change_mode_directory "${@}"; } #= cmd
a__change_mode_directory() { a__change_mode_directory() {
chmod \ chmod \
"755" \ "755" \
@ -7,7 +7,7 @@ a__change_mode_directory() {
} }
# change mode to file # change mode to file
cmf() { a__change_mode_file "${@}"; } #= cmf
a__change_mode_file() { a__change_mode_file() {
chmod \ chmod \
"644" \ "644" \

View file

@ -1,5 +1,5 @@
# change owner to root # change owner to root
cor() { a__change_owner_root "${@}"; } #= cor
a__change_owner_root() { a__change_owner_root() {
chown \ chown \
"0:0" \ "0:0" \
@ -7,7 +7,7 @@ a__change_owner_root() {
} }
# change owner to user # change owner to user
cou() { a__change_owner_user "${@}"; } #= cou
a__change_owner_user() { a__change_owner_user() {
chown \ chown \
"1000:1000" \ "1000:1000" \

View file

@ -1,5 +1,5 @@
# clear terminal # clear terminal
c() { a__clear "${@}"; } #= c
a__clear() { a__clear() {
clear \ clear \
"${@}" "${@}"

View file

@ -1,5 +1,5 @@
# copy interactively # copy interactively
cpi() { a__co_py_interactive "${@}"; } #= cpi
a__co_py_interactive() { a__co_py_interactive() {
cp \ cp \
--interactive \ --interactive \

View file

@ -1,4 +1,4 @@
em() { a__e_macs "${@}"; } #= em
a__e_macs() { a__e_macs() {
emacs \ emacs \
"${@}" "${@}"

View file

@ -1,4 +1,4 @@
ev() { a__e_vince "${@}"; } #= ev
a__e_vince() { a__e_vince() {
evince \ evince \
"${@}" "${@}"

View file

@ -1,5 +1,5 @@
# grep from current directory with regex # grep from current directory with regex
g() { a__grep "${@}"; } #= g
a__grep() { a__grep() {
grep \ grep \
--directories "recurse" \ --directories "recurse" \

View file

@ -1,12 +1,12 @@
# kill a process by id # kill a process by id
k() { a__kill "${@}"; } #= k
a__kill() { a__kill() {
kill \ kill \
"${@}" "${@}"
} }
# force kill a process by id # force kill a process by id
kf() { a__kill_force "${@}"; } #= kf
a__kill_force() { a__kill_force() {
kill \ kill \
-9 \ -9 \

View file

@ -1,12 +1,12 @@
# kill all instances of a process by name # kill all instances of a process by name
ka() { a__kill_all "${@}"; } #= ka
a__kill_all() { a__kill_all() {
killall \ killall \
"${@}" "${@}"
} }
# force kill all instances of a process by name # force kill all instances of a process by name
kaf() { a__kill_all_force "${@}"; } #= kaf
a__kill_all_force() { a__kill_all_force() {
killall \ killall \
-9 \ -9 \

View file

@ -1,12 +1,12 @@
# make a directory # make a directory
md() { a__make_directory "${@}"; } #= md
a__make_directory() { a__make_directory() {
mkdir \ mkdir \
"${@}" "${@}"
} }
# make a directory after making its parents # make a directory after making its parents
mdp() { a__make_directory_parents "${@}"; } #= mdp
a__make_directory_parents() { a__make_directory_parents() {
mkdir \ mkdir \
--parents \ --parents \

View file

@ -1,4 +1,4 @@
m() { a__mount "${@}"; } #= m
a__mount() { a__mount() {
mount \ mount \
"${@}" "${@}"

View file

@ -1,5 +1,5 @@
# move interactively # move interactively
mvi() { a__mo_ve_interactive "${@}"; } #= mvi
a__mo_ve_interactive() { a__mo_ve_interactive() {
mv \ mv \
--interactive \ --interactive \

View file

@ -1,4 +1,4 @@
nn() { a__na_no "${@}"; } #= nn
a__na_no() { a__na_no() {
nano \ nano \
"${@}" "${@}"

View file

@ -1,4 +1,4 @@
nb() { a__news_boat "${@}"; } #= nb
a__news_boat() { a__news_boat() {
newsboat \ newsboat \
"${@}" "${@}"

View file

@ -1,12 +1,12 @@
# display pass entry’s content # display pass entry’s content
p() { a__pass "${@}"; } #= p
a__pass() { a__pass() {
pass \ pass \
"${@}" "${@}"
} }
# copy passphrase into clipboard # copy passphrase into clipboard
pc() { a__pass_clip "${@}"; } #= pc
a__pass_clip() { a__pass_clip() {
pass \ pass \
--clip \ --clip \

View file

@ -1,5 +1,5 @@
# look for a string in processes names # look for a string in processes names
pg() { a__proc_grep "${@}"; } #= pg
a__proc_grep() { a__proc_grep() {
pgrep \ pgrep \
--list-full \ --list-full \

View file

@ -1,5 +1,5 @@
# generate passwords # generate passwords
pwg() { a__pass_word_gen "${@}"; } #= pwg
a__pass_word_gen() { a__pass_word_gen() {
pwgen \ pwgen \
-1 \ -1 \
@ -9,7 +9,7 @@ a__pass_word_gen() {
} }
# generate passwords with symbols # generate passwords with symbols
pwgs() { a__pass_word_gen_symbols "${@}"; } #= pwgs
a__pass_word_gen_symbols() { a__pass_word_gen_symbols() {
a__pass_word_gen \ a__pass_word_gen \
--symbols \ --symbols \

View file

@ -1,5 +1,5 @@
# remove interactively # remove interactively
rmi() { a__re_move_interactive "${@}"; } #= rmi
a__re_move_interactive() { a__re_move_interactive() {
rm \ rm \
--interactive \ --interactive \

View file

@ -1,10 +1,10 @@
t() { a__tree "${@}"; } #= t
a__tree() { a__tree() {
tree \ tree \
"${@}" "${@}"
} }
ta() { a__tree_all "${@}"; } #= ta
a__tree_all() { a__tree_all() {
tree \ tree \
-a \ -a \

View file

@ -23,8 +23,6 @@ RWX_LOG_LEVEL=${RWX_LOG_LEVEL_INFO}
# │ log │ log │ # │ log │ log │
# ╰─────┴─────╯ # ╰─────┴─────╯
rwx_log() { rwx_log_info "${@}"; }
rwx_log_debug() { rwx_log_debug() {
if [ "${RWX_LOG_LEVEL}" -ge "${RWX_LOG_LEVEL_DEBUG}" ]; then if [ "${RWX_LOG_LEVEL}" -ge "${RWX_LOG_LEVEL_DEBUG}" ]; then
_rwx_log "[DEBUG]" "${@}" _rwx_log "[DEBUG]" "${@}"
@ -51,6 +49,7 @@ rwx_log_fatal() {
fi fi
} }
#= rwx_log
rwx_log_info() { rwx_log_info() {
if [ "${RWX_LOG_LEVEL}" -ge "${RWX_LOG_LEVEL_INFO}" ]; then if [ "${RWX_LOG_LEVEL}" -ge "${RWX_LOG_LEVEL_INFO}" ]; then
_rwx_log "" "${@}" _rwx_log "" "${@}"