added add-repo-key function
added skg for killing unowned processes by grep add 312 network to shellmaster
parent
3a5d3eba1c
commit
2ec857b1c2
|
@ -26,6 +26,7 @@ alias ka='killall'
|
|||
# kill processes greped
|
||||
alias skg='sudo pkill -f'
|
||||
alias kg='pkill -f'
|
||||
alias skg='sudo pkill -f'
|
||||
|
||||
alias df='df -h -x supermount'
|
||||
alias du='du -h'
|
||||
|
|
|
@ -82,3 +82,8 @@ grep -rnswl $1 -e $2 | more
|
|||
# edit files
|
||||
# set the system editor using EDITOR environment variable
|
||||
editor() { ${EDITOR} $1; }
|
||||
|
||||
add-repo-key () {
|
||||
gpg --keyserver keyserver.ubuntu.com --recv-key $1
|
||||
gpg -a --export $1 | sudo apt-key add -
|
||||
}
|
|
@ -56,7 +56,7 @@ export BASH_USE_ALIAS=true # will source aliases for non-interactive
|
|||
# make a directory of the same name
|
||||
# if unset then only /all will be sourced
|
||||
# TODO just read all directories in BASH_SHELL_NETWORK.
|
||||
export NETWORK_DOMAINS=(238.kebler.net 645.kebler.net 3115.kebler.net)
|
||||
export NETWORK_DOMAINS=(238.kebler.net 645.kebler.net 3115.kebler.net 312.kebler.net)
|
||||
# network domain folder entry will be made for each domain set, first is home domain, others via vpn
|
||||
if [[ $NETWORK_DOMAINS ]]; then
|
||||
export NETWORK_HOME=${NETWORK_DOMAINS[0]}
|
||||
|
|
Loading…
Reference in New Issue