This commit is contained in:
Marc Beninca 2024-11-19 14:42:11 +01:00
parent 14e9e52362
commit 8fae0bd63e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
30 changed files with 269 additions and 269 deletions

View file

@ -1,94 +1,94 @@
# show package information # show package information
acl() { sa__apt_cache_list "${@}"; } acl() { a__apt_cache_list "${@}"; }
sa__apt_cache_list() { a__apt_cache_list() {
apt-cache \ apt-cache \
show \ show \
"${@}" "${@}"
} }
# package versions policy # package versions policy
acp() { sa__apt_cache_policy "${@}"; } acp() { a__apt_cache_policy "${@}"; }
sa__apt_cache_policy() { a__apt_cache_policy() {
apt-cache \ apt-cache \
policy \ policy \
"${@}" "${@}"
} }
# search package # search package
acs() { sa__apt_cache_search "${@}"; } acs() { a__apt_cache_search "${@}"; }
sa__apt_cache_search() { a__apt_cache_search() {
apt-cache \ apt-cache \
search \ search \
"${@}" "${@}"
} }
# #
agap() { sa__apt_get_auto_purge "${@}"; } agap() { a__apt_get_auto_purge "${@}"; }
sa__apt_get_auto_purge() { a__apt_get_auto_purge() {
apt-get \ apt-get \
autopurge \ autopurge \
"${@}" "${@}"
} }
# #
agar() { sa__apt_get_auto_remove "${@}"; } agar() { a__apt_get_auto_remove "${@}"; }
sa__apt_get_auto_remove() { a__apt_get_auto_remove() {
apt-get \ apt-get \
autoremove \ autoremove \
"${@}" "${@}"
} }
# clean packages cache # clean packages cache
agc() { sa__apt_get_clean "${@}"; } agc() { a__apt_get_clean "${@}"; }
sa__apt_get_clean() { a__apt_get_clean() {
apt-get \ apt-get \
clean \ clean \
"${@}" "${@}"
} }
# upgrade allowing package installation or removal # upgrade allowing package installation or removal
agfu() { sa__apt_get_full_upgrade "${@}"; } agfu() { a__apt_get_full_upgrade "${@}"; }
sa__apt_get_full_upgrade() { a__apt_get_full_upgrade() {
apt-get \ apt-get \
full-upgrade \ full-upgrade \
"${@}" "${@}"
} }
# install packages # install packages
agi() { sa__apt_get_install "${@}"; } agi() { a__apt_get_install "${@}"; }
sa__apt_get_install() { a__apt_get_install() {
apt-get \ apt-get \
install \ install \
"${@}" "${@}"
} }
# #
agp() { sa__apt_get_purge "${@}"; } agp() { a__apt_get_purge "${@}"; }
sa__apt_get_purge() { a__apt_get_purge() {
apt-get \ apt-get \
purge \ purge \
"${@}" "${@}"
} }
# #
agr() { sa__apt_get_remove "${@}"; } agr() { a__apt_get_remove "${@}"; }
sa__apt_get_remove() { a__apt_get_remove() {
apt-get \ apt-get \
remove \ remove \
"${@}" "${@}"
} }
# update packages catalog # update packages catalog
agud() { sa__apt_get_up_date "${@}"; } agud() { a__apt_get_up_date "${@}"; }
sa__apt_get_up_date() { a__apt_get_up_date() {
apt-get \ apt-get \
update \ update \
"${@}" "${@}"
} }
# upgrade forbidding package installation or removal # upgrade forbidding package installation or removal
agug() { sa__apt_get_up_grade "${@}"; } agug() { a__apt_get_up_grade "${@}"; }
sa__apt_get_up_grade() { a__apt_get_up_grade() {
apt-get \ apt-get \
upgrade \ upgrade \
"${@}" "${@}"

View file

@ -1,5 +1,5 @@
b() { sa__bat "${@}"; } b() { a__bat "${@}"; }
sa__bat() { a__bat() {
batcat \ batcat \
"${@}" "${@}"
} }

View file

@ -1,13 +1,13 @@
bfdf() { sa__btrfs_filesystem_d_f "${@}"; } bfdf() { a__btrfs_filesystem_d_f "${@}"; }
sa__btrfs_filesystem_d_f() { a__btrfs_filesystem_d_f() {
btrfs \ btrfs \
filesystem \ filesystem \
df \ df \
"${@}" "${@}"
} }
bfdu() { sa__btrfs_filesystem_d_u "${@}"; } bfdu() { a__btrfs_filesystem_d_u "${@}"; }
sa__btrfs_filesystem_d_u() { a__btrfs_filesystem_d_u() {
btrfs \ btrfs \
filesystem \ filesystem \
du \ du \
@ -15,40 +15,40 @@ sa__btrfs_filesystem_d_u() {
"${@}" "${@}"
} }
bfu() { sa__btrfs_filesystem_usage "${@}"; } bfu() { a__btrfs_filesystem_usage "${@}"; }
sa__btrfs_filesystem_usage() { a__btrfs_filesystem_usage() {
btrfs \ btrfs \
filesystem \ filesystem \
usage \ usage \
"${@}" "${@}"
} }
bpg() { sa__btrfs_property_get "${@}"; } bpg() { a__btrfs_property_get "${@}"; }
sa__btrfs_property_get() { a__btrfs_property_get() {
btrfs \ btrfs \
property \ property \
get \ get \
"${@}" "${@}"
} }
bsc() { sa__btrfs_subvolume_create "${@}"; } bsc() { a__btrfs_subvolume_create "${@}"; }
sa__btrfs_subvolume_create() { a__btrfs_subvolume_create() {
btrfs \ btrfs \
subvolume \ subvolume \
create \ create \
"${@}" "${@}"
} }
bsd() { sa__btrfs_subvolume_delete "${@}"; } bsd() { a__btrfs_subvolume_delete "${@}"; }
sa__btrfs_subvolume_delete() { a__btrfs_subvolume_delete() {
btrfs \ btrfs \
subvolume \ subvolume \
delete \ delete \
"${@}" "${@}"
} }
bsl() { sa__btrfs_subvolume_list "${@}"; } bsl() { a__btrfs_subvolume_list "${@}"; }
sa__btrfs_subvolume_list() { a__btrfs_subvolume_list() {
if [ -n "${1}" ]; then if [ -n "${1}" ]; then
btrfs subvolume list "${1}" | btrfs subvolume list "${1}" |
cut --delimiter " " --fields 9 | cut --delimiter " " --fields 9 |
@ -56,16 +56,16 @@ sa__btrfs_subvolume_list() {
fi fi
} }
bss() { sa__btrfs_subvolume_snapshot "${@}"; } bss() { a__btrfs_subvolume_snapshot "${@}"; }
sa__btrfs_subvolume_snapshot() { a__btrfs_subvolume_snapshot() {
btrfs \ btrfs \
subvolume \ subvolume \
snapshot \ snapshot \
"${@}" "${@}"
} }
bssr() { sa__btrfs_subvolume_snapshot_r "${@}"; } bssr() { a__btrfs_subvolume_snapshot_r "${@}"; }
sa__btrfs_subvolume_snapshot_r() { a__btrfs_subvolume_snapshot_r() {
btrfs \ btrfs \
subvolume \ subvolume \
snapshot -r \ snapshot -r \

View file

@ -1,25 +1,25 @@
bb() { sa__byo_bu "${@}"; } bb() { a__byo_bu "${@}"; }
sa__byo_bu() { a__byo_bu() {
byobu \ byobu \
"${@}" "${@}"
} }
bba() { sa__byo_bu_attach "${@}"; } bba() { a__byo_bu_attach "${@}"; }
sa__byo_bu_attach() { a__byo_bu_attach() {
byobu \ byobu \
attach-session \ attach-session \
"${@}" "${@}"
} }
bbl() { sa__byo_bu_ls "${@}"; } bbl() { a__byo_bu_ls "${@}"; }
sa__byo_bu_ls() { a__byo_bu_ls() {
byobu \ byobu \
ls \ ls \
"${@}" "${@}"
} }
bbnd() { sa__byo_bu_new_detach "${@}"; } bbnd() { a__byo_bu_new_detach "${@}"; }
sa__byo_bu_new_detach() { a__byo_bu_new_detach() {
byobu \ byobu \
new-session \ new-session \
-d \ -d \

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,5 @@
em() { sa__e_macs "${@}"; } em() { a__e_macs "${@}"; }
sa__e_macs() { a__e_macs() {
emacs \ emacs \
"${@}" "${@}"
} }

View file

@ -1,5 +1,5 @@
ev() { sa__e_vince "${@}"; } ev() { a__e_vince "${@}"; }
sa__e_vince() { a__e_vince() {
evince \ evince \
"${@}" "${@}"
} }

View file

@ -8,16 +8,16 @@ C %C(blue)%cn %ce
%B" %B"
# add to index # add to index
ga() { sa__git_add "${@}"; } ga() { a__git_add "${@}"; }
sa__git_add() { a__git_add() {
git \ git \
add \ add \
"${@}" "${@}"
} }
# add all to index # add all to index
gaa() { sa__git_add_all "${@}"; } gaa() { a__git_add_all "${@}"; }
sa__git_add_all() { a__git_add_all() {
git \ git \
add \ add \
--all \ --all \
@ -25,8 +25,8 @@ sa__git_add_all() {
} }
# add parts of all to index # add parts of all to index
gaap() { sa__git_add_all_patch "${@}"; } gaap() { a__git_add_all_patch "${@}"; }
sa__git_add_all_patch() { a__git_add_all_patch() {
git \ git \
add \ add \
--all \ --all \
@ -35,8 +35,8 @@ sa__git_add_all_patch() {
} }
# add parts to index # add parts to index
gap() { sa__git_add_patch "${@}"; } gap() { a__git_add_patch "${@}"; }
sa__git_add_patch() { a__git_add_patch() {
git \ git \
add \ add \
--patch \ --patch \
@ -44,16 +44,16 @@ sa__git_add_patch() {
} }
# create a branch # create a branch
gb() { sa__git_branch "${@}"; } gb() { a__git_branch "${@}"; }
sa__git_branch() { a__git_branch() {
git \ git \
branch \ branch \
"${@}" "${@}"
} }
# delete a branch # delete a branch
gbd() { sa__git_branch_delete "${@}"; } gbd() { a__git_branch_delete "${@}"; }
sa__git_branch_delete() { a__git_branch_delete() {
git \ git \
branch \ branch \
--delete \ --delete \
@ -61,8 +61,8 @@ sa__git_branch_delete() {
} }
# force a branch deletion # force a branch deletion
gbdf() { sa__git_branch_delete_force "${@}"; } gbdf() { a__git_branch_delete_force "${@}"; }
sa__git_branch_delete_force() { a__git_branch_delete_force() {
git \ git \
branch \ branch \
--delete \ --delete \
@ -71,8 +71,8 @@ sa__git_branch_delete_force() {
} }
# list branches # list branches
gbl() { sa__git_branch_list "${@}"; } gbl() { a__git_branch_list "${@}"; }
sa__git_branch_list() { a__git_branch_list() {
git \ git \
branch \ branch \
--all \ --all \
@ -83,8 +83,8 @@ sa__git_branch_list() {
} }
# set the link to a remote branch from a local branch # set the link to a remote branch from a local branch
gbsu() { sa__git_branch_set_upstream "${@}"; } gbsu() { a__git_branch_set_upstream "${@}"; }
sa__git_branch_set_upstream() { a__git_branch_set_upstream() {
git \ git \
branch \ branch \
--set-upstream-to \ --set-upstream-to \
@ -92,16 +92,16 @@ sa__git_branch_set_upstream() {
} }
# switch to a branch or checkout file(s) from a commit # switch to a branch or checkout file(s) from a commit
gc() { sa__git_checkout "${@}"; } gc() { a__git_checkout "${@}"; }
sa__git_checkout() { a__git_checkout() {
git \ git \
checkout \ checkout \
"${@}" "${@}"
} }
# checkout an orphan branch # checkout an orphan branch
gco() { sa__git_checkout_orphan "${@}"; } gco() { a__git_checkout_orphan "${@}"; }
sa__git_checkout_orphan() { a__git_checkout_orphan() {
git \ git \
checkout \ checkout \
--orphan \ --orphan \
@ -109,16 +109,16 @@ sa__git_checkout_orphan() {
} }
# pick a commit # pick a commit
gcp() { sa__git_cherry_pick "${@}"; } gcp() { a__git_cherry_pick "${@}"; }
sa__git_cherry_pick() { a__git_cherry_pick() {
git \ git \
cherry-pick \ cherry-pick \
"${@}" "${@}"
} }
# abort the commit pick # abort the commit pick
gcpa() { sa__git_cherry_pick_abort "${@}"; } gcpa() { a__git_cherry_pick_abort "${@}"; }
sa__git_cherry_pick_abort() { a__git_cherry_pick_abort() {
git \ git \
cherry-pick \ cherry-pick \
--abort \ --abort \
@ -126,8 +126,8 @@ sa__git_cherry_pick_abort() {
} }
# continue the commit pick # continue the commit pick
gcpc() { sa__git_cherry_pick_continue "${@}"; } gcpc() { a__git_cherry_pick_continue "${@}"; }
sa__git_cherry_pick_continue() { a__git_cherry_pick_continue() {
git \ git \
cherry-pick \ cherry-pick \
--continue \ --continue \
@ -135,8 +135,8 @@ sa__git_cherry_pick_continue() {
} }
# clean untracked files # clean untracked files
gcf() { sa__git_clean_force "${@}"; } gcf() { a__git_clean_force "${@}"; }
sa__git_clean_force() { a__git_clean_force() {
git \ git \
clean \ clean \
-d \ -d \
@ -145,8 +145,8 @@ sa__git_clean_force() {
} }
# redo the last commit with a different message # redo the last commit with a different message
gcam() { sa__git_commit_amend_message "${@}"; } gcam() { a__git_commit_amend_message "${@}"; }
sa__git_commit_amend_message() { a__git_commit_amend_message() {
git \ git \
commit \ commit \
--amend \ --amend \
@ -155,8 +155,8 @@ sa__git_commit_amend_message() {
} }
# make a root commit # make a root commit
gcem() { sa__git_commit_empty_message "${@}"; } gcem() { a__git_commit_empty_message "${@}"; }
sa__git_commit_empty_message() { a__git_commit_empty_message() {
git \ git \
commit \ commit \
--allow-empty \ --allow-empty \
@ -166,8 +166,8 @@ sa__git_commit_empty_message() {
} }
# commit the index # commit the index
gcm() { sa__git_commit_message "${@}"; } gcm() { a__git_commit_message "${@}"; }
sa__git_commit_message() { a__git_commit_message() {
git \ git \
commit \ commit \
--message \ --message \
@ -175,8 +175,8 @@ sa__git_commit_message() {
} }
# configure the user email # configure the user email
gcue() { sa__git_config_user_email "${@}"; } gcue() { a__git_config_user_email "${@}"; }
sa__git_config_user_email() { a__git_config_user_email() {
git \ git \
config \ config \
"user.email" \ "user.email" \
@ -184,8 +184,8 @@ sa__git_config_user_email() {
} }
# configure the user name # configure the user name
gcun() { sa__git_config_user_name "${@}"; } gcun() { a__git_config_user_name "${@}"; }
sa__git_config_user_name() { a__git_config_user_name() {
git \ git \
config \ config \
"user.name" \ "user.name" \
@ -193,16 +193,16 @@ sa__git_config_user_name() {
} }
# differences from last or between commits # differences from last or between commits
gd() { sa__git_diff "${@}"; } gd() { a__git_diff "${@}"; }
sa__git_diff() { a__git_diff() {
git \ git \
diff \ diff \
"${@}" "${@}"
} }
# display what is indexed in cache # display what is indexed in cache
gdc() { sa__git_diff_cached "${@}"; } gdc() { a__git_diff_cached "${@}"; }
sa__git_diff_cached() { a__git_diff_cached() {
git \ git \
diff \ diff \
--cached \ --cached \
@ -210,8 +210,8 @@ sa__git_diff_cached() {
} }
# indexed character-level differences # indexed character-level differences
gdcw() { sa__git_diff_cached_word "${@}"; } gdcw() { a__git_diff_cached_word "${@}"; }
sa__git_diff_cached_word() { a__git_diff_cached_word() {
git \ git \
diff \ diff \
--cached \ --cached \
@ -220,8 +220,8 @@ sa__git_diff_cached_word() {
} }
# differences via external tool # differences via external tool
gdt() { sa__git_diff_tool "${@}"; } gdt() { a__git_diff_tool "${@}"; }
sa__git_diff_tool() { a__git_diff_tool() {
git \ git \
difftool \ difftool \
--dir-diff \ --dir-diff \
@ -229,8 +229,8 @@ sa__git_diff_tool() {
} }
# character-level differences # character-level differences
gdw() { sa__git_diff_word "${@}"; } gdw() { a__git_diff_word "${@}"; }
sa__git_diff_word() { a__git_diff_word() {
git \ git \
diff \ diff \
--word-diff-regex "." \ --word-diff-regex "." \
@ -238,8 +238,8 @@ sa__git_diff_word() {
} }
# fetch from the remote repository # fetch from the remote repository
gf() { sa__git_fetch "${@}"; } gf() { a__git_fetch "${@}"; }
sa__git_fetch() { a__git_fetch() {
git \ git \
fetch \ fetch \
--tags \ --tags \
@ -248,16 +248,16 @@ sa__git_fetch() {
} }
# fetch from remote repository and prune local orphan branches # fetch from remote repository and prune local orphan branches
gfp() { sa__git_fetch_prune "${@}"; } gfp() { a__git_fetch_prune "${@}"; }
sa__git_fetch_prune() { a__git_fetch_prune() {
sa__git_fetch \ a__git_fetch \
--prune \ --prune \
"${@}" "${@}"
} }
# garbage collect all orphan commits # garbage collect all orphan commits
ggc() { sa__git_garbage_collect "${@}"; } ggc() { a__git_garbage_collect "${@}"; }
sa__git_garbage_collect() { a__git_garbage_collect() {
git \ git \
reflog \ reflog \
expire \ expire \
@ -270,16 +270,16 @@ sa__git_garbage_collect() {
} }
# initialize a new repository # initialize a new repository
gi() { sa__git_init "${@}"; } gi() { a__git_init "${@}"; }
sa__git_init() { a__git_init() {
git \ git \
init \ init \
"${@}" "${@}"
} }
# initialize a new bare repository # initialize a new bare repository
gib() { sa__git_init_bare "${@}"; } gib() { a__git_init_bare "${@}"; }
sa__git_init_bare() { a__git_init_bare() {
git \ git \
init \ init \
--bare \ --bare \
@ -287,8 +287,8 @@ sa__git_init_bare() {
} }
# log history # log history
gl() { sa__git_log "${@}"; } gl() { a__git_log "${@}"; }
sa__git_log() { a__git_log() {
git \ git \
log \ log \
--abbrev=8 \ --abbrev=8 \
@ -299,33 +299,33 @@ sa__git_log() {
} }
# log all history # log all history
gla() { sa__git_log_all "${@}"; } gla() { a__git_log_all "${@}"; }
sa__git_log_all() { a__git_log_all() {
sa__git_log \ a__git_log \
--all \ --all \
"${@}" "${@}"
} }
# log all history with patches # log all history with patches
glap() { sa__git_log_all_patch "${@}"; } glap() { a__git_log_all_patch "${@}"; }
sa__git_log_all_patch() { a__git_log_all_patch() {
sa__git_log \ a__git_log \
--all \ --all \
--patch \ --patch \
"${@}" "${@}"
} }
# log history with patches # log history with patches
glp() { sa__git_log_patch "${@}"; } glp() { a__git_log_patch "${@}"; }
sa__git_log_patch() { a__git_log_patch() {
sa__git_log \ a__git_log \
--patch \ --patch \
"${@}" "${@}"
} }
# fast-forward merge to remote branch # fast-forward merge to remote branch
gm() { sa__git_merge "${@}"; } gm() { a__git_merge "${@}"; }
sa__git_merge() { a__git_merge() {
git \ git \
merge \ merge \
--ff-only \ --ff-only \
@ -333,8 +333,8 @@ sa__git_merge() {
} }
# abort the current merge commit # abort the current merge commit
gma() { sa__git_merge_abort "${@}"; } gma() { a__git_merge_abort "${@}"; }
sa__git_merge_abort() { a__git_merge_abort() {
git \ git \
merge \ merge \
--abort \ --abort \
@ -342,8 +342,8 @@ sa__git_merge_abort() {
} }
# do a merge commit # do a merge commit
gmc() { sa__git_merge_commit "${@}"; } gmc() { a__git_merge_commit "${@}"; }
sa__git_merge_commit() { a__git_merge_commit() {
git \ git \
merge \ merge \
--no-ff \ --no-ff \
@ -352,8 +352,8 @@ sa__git_merge_commit() {
} }
# squash a branch and index its modifications # squash a branch and index its modifications
gms() { sa__git_merge_squash "${@}"; } gms() { a__git_merge_squash "${@}"; }
sa__git_merge_squash() { a__git_merge_squash() {
git \ git \
merge \ merge \
--squash \ --squash \
@ -361,16 +361,16 @@ sa__git_merge_squash() {
} }
# merge via external tool # merge via external tool
gmt() { sa__git_merge_tool "${@}"; } gmt() { a__git_merge_tool "${@}"; }
sa__git_merge_tool() { a__git_merge_tool() {
git \ git \
mergetool \ mergetool \
"${@}" "${@}"
} }
# push to the remote repository # push to the remote repository
gp() { sa__git_push "${@}"; } gp() { a__git_push "${@}"; }
sa__git_push() { a__git_push() {
git \ git \
push \ push \
--tags \ --tags \
@ -379,8 +379,8 @@ sa__git_push() {
} }
# delete from the remote repository # delete from the remote repository
gpd() { sa__git_push_delete "${@}"; } gpd() { a__git_push_delete "${@}"; }
sa__git_push_delete() { a__git_push_delete() {
git \ git \
push \ push \
--delete \ --delete \
@ -388,24 +388,24 @@ sa__git_push_delete() {
} }
# force the push to the remote repository # force the push to the remote repository
gpf() { sa__git_push_force "${@}"; } gpf() { a__git_push_force "${@}"; }
sa__git_push_force() { a__git_push_force() {
sa__git_push \ a__git_push \
--force \ --force \
"${@}" "${@}"
} }
# rebase current branch onto another # rebase current branch onto another
grb() { sa__git_re_base "${@}"; } grb() { a__git_re_base "${@}"; }
sa__git_re_base() { a__git_re_base() {
git \ git \
rebase \ rebase \
"${@}" "${@}"
} }
# abort current rebase # abort current rebase
grba() { sa__git_re_base_abort "${@}"; } grba() { a__git_re_base_abort "${@}"; }
sa__git_re_base_abort() { a__git_re_base_abort() {
git \ git \
rebase \ rebase \
--abort \ --abort \
@ -413,8 +413,8 @@ sa__git_re_base_abort() {
} }
# continue current rebase # continue current rebase
grbc() { sa__git_re_base_continue "${@}"; } grbc() { a__git_re_base_continue "${@}"; }
sa__git_re_base_continue() { a__git_re_base_continue() {
git \ git \
rebase \ rebase \
--continue \ --continue \
@ -422,8 +422,8 @@ sa__git_re_base_continue() {
} }
# force rebase without fast-forward # force rebase without fast-forward
grbf() { sa__git_re_base_force "${@}"; } grbf() { a__git_re_base_force "${@}"; }
sa__git_re_base_force() { a__git_re_base_force() {
git \ git \
rebase \ rebase \
--force-rebase \ --force-rebase \
@ -431,8 +431,8 @@ sa__git_re_base_force() {
} }
# rebase interactively # rebase interactively
grbi() { sa__git_re_base_interactive "${@}"; } grbi() { a__git_re_base_interactive "${@}"; }
sa__git_re_base_interactive() { a__git_re_base_interactive() {
git \ git \
rebase \ rebase \
--interactive \ --interactive \
@ -440,8 +440,8 @@ sa__git_re_base_interactive() {
} }
# add a new remote repository # add a new remote repository
grma() { sa__git_re_mote_add "${@}"; } grma() { a__git_re_mote_add "${@}"; }
sa__git_re_mote_add() { a__git_re_mote_add() {
git \ git \
remote \ remote \
add \ add \
@ -449,8 +449,8 @@ sa__git_re_mote_add() {
} }
# list remote repositories # list remote repositories
grml() { sa__git_re_mote_list "${@}"; } grml() { a__git_re_mote_list "${@}"; }
sa__git_re_mote_list() { a__git_re_mote_list() {
git \ git \
remote \ remote \
--verbose \ --verbose \
@ -458,8 +458,8 @@ sa__git_re_mote_list() {
} }
# set the location of a remote repository # set the location of a remote repository
grmsu() { sa__git_re_mote_set_upstream "${@}"; } grmsu() { a__git_re_mote_set_upstream "${@}"; }
sa__git_re_mote_set_upstream() { a__git_re_mote_set_upstream() {
git \ git \
remote \ remote \
set-url \ set-url \
@ -467,8 +467,8 @@ sa__git_re_mote_set_upstream() {
} }
# show connection to a remote repository # show connection to a remote repository
grms() { sa__git_re_mote_show "${@}"; } grms() { a__git_re_mote_show "${@}"; }
sa__git_re_mote_show() { a__git_re_mote_show() {
git \ git \
remote \ remote \
show \ show \
@ -476,24 +476,24 @@ sa__git_re_mote_show() {
} }
# remove and add removal to index # remove and add removal to index
grm() { sa__git_re_move "${@}"; } grm() { a__git_re_move "${@}"; }
sa__git_re_move() { a__git_re_move() {
git \ git \
rm \ rm \
"${@}" "${@}"
} }
# remove file(s) from index or move current branch pointer # remove file(s) from index or move current branch pointer
grs() { sa__git_re_set "${@}"; } grs() { a__git_re_set "${@}"; }
sa__git_re_set() { a__git_re_set() {
git \ git \
reset \ reset \
"${@}" "${@}"
} }
# wipe modifications or reset current branch to another commit # wipe modifications or reset current branch to another commit
grsh() { sa__git_re_set_hard "${@}"; } grsh() { a__git_re_set_hard "${@}"; }
sa__git_re_set_hard() { a__git_re_set_hard() {
git \ git \
reset \ reset \
--hard \ --hard \
@ -501,16 +501,16 @@ sa__git_re_set_hard() {
} }
# show a commit # show a commit
gsc() { sa__git_show_commit "${@}"; } gsc() { a__git_show_commit "${@}"; }
sa__git_show_commit() { a__git_show_commit() {
git \ git \
show \ show \
"${@}" "${@}"
} }
# current state of repository # current state of repository
gs() { sa__git_status "${@}"; } gs() { a__git_status "${@}"; }
sa__git_status() { a__git_status() {
git \ git \
status \ status \
--untracked-files="all" \ --untracked-files="all" \
@ -518,16 +518,16 @@ sa__git_status() {
} }
# tag a commit # tag a commit
gt() { sa__git_tag "${@}"; } gt() { a__git_tag "${@}"; }
sa__git_tag() { a__git_tag() {
git \ git \
tag \ tag \
"${@}" "${@}"
} }
# delete a tag # delete a tag
gtd() { sa__git_tag_delete "${@}"; } gtd() { a__git_tag_delete "${@}"; }
sa__git_tag_delete() { a__git_tag_delete() {
git \ git \
tag \ tag \
--delete \ --delete \

View file

@ -1,13 +1,13 @@
# turn gpg agent off # turn gpg agent off
gak() { sa__gpg_agent_kill "${@}"; } gak() { a__gpg_agent_kill "${@}"; }
sa__gpg_agent_kill() { a__gpg_agent_kill() {
gpgconf \ gpgconf \
--kill "gpg-agent" --kill "gpg-agent"
} }
# bind gpg agent to current tty # bind gpg agent to current tty
gau() { sa__gpg_agent_update "${@}"; } gau() { a__gpg_agent_update "${@}"; }
sa__gpg_agent_update() { a__gpg_agent_update() {
gpg-connect-agent \ gpg-connect-agent \
updatestartuptty \ updatestartuptty \
/bye /bye

View file

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

View file

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

View file

@ -1,13 +1,13 @@
# kill all instances of a process by name # kill all instances of a process by name
ka() { sa__kill_all "${@}"; } ka() { a__kill_all "${@}"; }
sa__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() { sa__kill_all_force "${@}"; } kaf() { a__kill_all_force "${@}"; }
sa__kill_all_force() { a__kill_all_force() {
killall \ killall \
-9 \ -9 \
"${@}" "${@}"

View file

@ -3,8 +3,8 @@ di=0;94\
" "
# list current directory’s entries # list current directory’s entries
l() { sa__ls "${@}"; } l() { a__ls "${@}"; }
sa__ls() { a__ls() {
ls \ ls \
--all \ --all \
--color \ --color \
@ -15,17 +15,17 @@ sa__ls() {
} }
# list timestamps # list timestamps
lt() { sa__ls_time "${@}"; } lt() { a__ls_time "${@}"; }
sa__ls_time() { a__ls_time() {
sa__ls \ a__ls \
--time-style "+%Y%m%d-%H%M%S%-:::z" \ --time-style "+%Y%m%d-%H%M%S%-:::z" \
"${@}" "${@}"
} }
# list timestamps recent last # list timestamps recent last
ltr() { sa__ls_time_reverse "${@}"; } ltr() { a__ls_time_reverse "${@}"; }
sa__ls_time_reverse() { a__ls_time_reverse() {
sa__ls_time \ a__ls_time \
--reverse \ --reverse \
-t \ -t \
"${@}" "${@}"

View file

@ -1,7 +1,7 @@
# list block devices # list block devices
lb() { sa__list_block "${@}"; } lb() { a__list_block "${@}"; }
sa__list_block() { a__list_block() {
sa__list_block_output \ a__list_block_output \
"SIZE" \ "SIZE" \
"TYPE" \ "TYPE" \
"FSTYPE" \ "FSTYPE" \
@ -11,21 +11,21 @@ sa__list_block() {
} }
# base arguments # base arguments
lbne() { sa__list_block_no_empty "${@}"; } lbne() { a__list_block_no_empty "${@}"; }
sa__list_block_no_empty() { a__list_block_no_empty() {
lsblk \ lsblk \
--noempty \ --noempty \
"${@}" "${@}"
} }
# output arguments # output arguments
lbo() { sa__list_block_output "${@}"; } lbo() { a__list_block_output "${@}"; }
sa__list_block_output() { a__list_block_output() {
local argument local argument
local arguments="NAME" local arguments="NAME"
for argument in "${@}"; do for argument in "${@}"; do
arguments="${arguments},${argument}" arguments="${arguments},${argument}"
done done
sa__list_block_no_empty \ a__list_block_no_empty \
--output "${arguments}" --output "${arguments}"
} }

View file

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

View file

@ -1,5 +1,5 @@
m() { sa__mount "${@}"; } m() { a__mount "${@}"; }
sa__mount() { a__mount() {
mount \ mount \
"${@}" "${@}"
} }

View file

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

View file

@ -1,5 +1,5 @@
nn() { sa__na_no "${@}"; } nn() { a__na_no "${@}"; }
sa__na_no() { a__na_no() {
nano \ nano \
"${@}" "${@}"
} }

View file

@ -1,5 +1,5 @@
nb() { sa__news_boat "${@}"; } nb() { a__news_boat "${@}"; }
sa__news_boat() { a__news_boat() {
newsboat \ newsboat \
"${@}" "${@}"
} }

View file

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

View file

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

View file

@ -1,6 +1,6 @@
# generate passwords # generate passwords
pwg() { sa__pass_word_gen "${@}"; } pwg() { a__pass_word_gen "${@}"; }
sa__pass_word_gen() { a__pass_word_gen() {
pwgen \ pwgen \
-1 \ -1 \
--num-passwords 1048576 \ --num-passwords 1048576 \
@ -9,9 +9,9 @@ sa__pass_word_gen() {
} }
# generate passwords with symbols # generate passwords with symbols
pwgs() { sa__pass_word_gen_symbols "${@}"; } pwgs() { a__pass_word_gen_symbols "${@}"; }
sa__pass_word_gen_symbols() { a__pass_word_gen_symbols() {
sa__pass_word_gen \ a__pass_word_gen \
--symbols \ --symbols \
"${@}" "${@}"
} }

View file

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

View file

@ -1,6 +1,6 @@
# synchronize # synchronize
rs() { sa__r_sync "${@}"; } rs() { a__r_sync "${@}"; }
sa__r_sync() { a__r_sync() {
rsync \ rsync \
--archive \ --archive \
--no-inc-recursive \ --no-inc-recursive \
@ -11,17 +11,17 @@ sa__r_sync() {
} }
# synchronize and delete after # synchronize and delete after
rsda() { sa__r_sync_delete_after "${@}"; } rsda() { a__r_sync_delete_after "${@}"; }
sa__r_sync_delete_after() { a__r_sync_delete_after() {
sa__r_sync \ a__r_sync \
--delete-after \ --delete-after \
"${@}" "${@}"
} }
# synchronize and delete before # synchronize and delete before
rsdb() { sa__r_sync_delete_before "${@}"; } rsdb() { a__r_sync_delete_before "${@}"; }
sa__r_sync_delete_before() { a__r_sync_delete_before() {
sa__r_sync \ a__r_sync \
--delete-before \ --delete-before \
"${@}" "${@}"
} }

View file

@ -1,30 +1,30 @@
tc() { sa__tar_create "${@}"; } tc() { a__tar_create "${@}"; }
sa__tar_create() { a__tar_create() {
sa__tar_verbose \ a__tar_verbose \
--create \ --create \
--auto-compress \ --auto-compress \
--file \ --file \
"${@}" "${@}"
} }
tl() { sa__tar_list "${@}"; } tl() { a__tar_list "${@}"; }
sa__tar_list() { a__tar_list() {
sa__tar_verbose \ a__tar_verbose \
--list \ --list \
--file \ --file \
"${@}" "${@}"
} }
tv() { sa__tar_verbose "${@}"; } tv() { a__tar_verbose "${@}"; }
sa__tar_verbose() { a__tar_verbose() {
tar \ tar \
--verbose \ --verbose \
"${@}" "${@}"
} }
tx() { sa__tar_xtract "${@}"; } tx() { a__tar_xtract "${@}"; }
sa__tar_xtract() { a__tar_xtract() {
sa__tar_verbose \ a__tar_verbose \
--extract \ --extract \
--file \ --file \
"${@}" "${@}"

View file

@ -1,5 +1,5 @@
tm() { sa__t_mux "${@}"; } tm() { a__t_mux "${@}"; }
sa__t_mux() { a__t_mux() {
tmux \ tmux \
"${@}" "${@}"
} }

View file

@ -1,11 +1,11 @@
t() { sa__tree "${@}"; } t() { a__tree "${@}"; }
sa__tree() { a__tree() {
tree \ tree \
"${@}" "${@}"
} }
ta() { sa__tree_all "${@}"; } ta() { a__tree_all "${@}"; }
sa__tree_all() { a__tree_all() {
tree \ tree \
-a \ -a \
"${@}" "${@}"