From 45a936d65fa18e218cb74b9f08cbeba0da72fd6e Mon Sep 17 00:00:00 2001 From: "kebler.net" Date: Sun, 1 Jan 2023 10:29:04 -0800 Subject: [PATCH] remove bash alias aliases, rearrange some others --- alias/00-basic | 8 -------- alias/network | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/alias/00-basic b/alias/00-basic index f24a030..c9da28c 100644 --- a/alias/00-basic +++ b/alias/00-basic @@ -56,17 +56,9 @@ alias pathg='echo $PATH | grep' alias sysinfo='sudo inxi -Fzxd' alias efstab="cp /etc/fstab ~/fstab.bak && gedit admin:/etc/fstab" -alias ea="editor ~/.bash_aliases" -alias ead="editor ~/.kbd-aliases/" -alias eadg="editor ~/.kbd-aliases/" -alias eag="editor ~/.bash_aliases" -alias essh="sudo editor /etc/ssh/sshd_config" alias ebrc='editor ~/.bashrc' # follows a link to list the source path alias follow="readlink -f" -# Will scrub all and reload only aliases in .bash_aliaes -alias reloada="unalias -a && source ~/.bash_aliases && compgen -a" - # use this when there are transport errors after unmounting or killing a mount alias umountf="sudo umount -l" diff --git a/alias/network b/alias/network index cb1867f..4f5acb5 100644 --- a/alias/network +++ b/alias/network @@ -1,2 +1,3 @@ alias ports="netstat -tulpn" alias flushdns="systemctl restart systemd-resolved" +alias essh="sudo editor /etc/ssh/sshd_config"