[arm-allstar] Update V1.5.3-45
Fred Erickson
fredferickson at gmail.com
Tue Nov 13 12:16:12 EST 2018
On Mon, 12 Nov 2018 18:47:23 -0800
"\"Glenn Morgon via ARM-allstar\"" <arm-allstar at hamvoip.org> wrote:
> Doug, I noticed that after doing the update the .bashrc file is wiped
> and replaced with a default one, which wipes out alias definitions I
> have placed in mine. Is it possible to have this file removed from
> being updated?
>
> Thank you,
> Glenn
> N8HC
Is there some reason not to use a file like .bash_aliases in the
hamvoip software? I don't have an allstar node myself so haven't tried
this but my Fedora, Mint, and Raspbian .bashrc files contain a section
like the one below. Then I keep any aliases I create in a file
called .bash_aliases so system updates don't delete them.
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
------------------------
Sample of .bash_aliases
#
# alias to run 'whoiscall.sh' by typing 'ham callsign'
#
alias ham=~/scripts/whoiscall.sh
More information about the ARM-allstar
mailing list