diff --git a/README.markdown b/README.markdown index a070719..28d770b 100644 --- a/README.markdown +++ b/README.markdown @@ -179,13 +179,13 @@ or, if you have recent BSD tail: ## Automatic aliases -You can start using grc automatically with supported commands. The following assumes that `grc.` is in `/etc`. The location may differ (i. e. `/usr/local/etc` when installed with [homebrew](https://formulae.brew.sh/formula/grc)). +You can start using grc automatically with supported commands. The following assumes that `grc.` is in `/etc`. The location may differ (i. e. `/usr/local/etc` when installed with [homebrew](https://formulae.brew.sh/formula/grc)). ### Bash To set aliases for supported commands, append to your `~/.bashrc`: - [[ -s "/etc/grc.bashrc" ]] && source /etc/grc.bashrc + [[ -s "/etc/grc.sh" ]] && source /etc/grc.sh ### ZSH diff --git a/debian/rules b/debian/rules index 968d0b8..7b88ef6 100755 --- a/debian/rules +++ b/debian/rules @@ -20,7 +20,7 @@ install: # Add here commands to install the package into debian/tmp. ./install.sh `pwd`/debian/grc/usr `pwd`/debian/grc # this is too invasive, would be incluided in a next major version - rm `pwd`/debian/grc/etc/profile.d/grc.bashrc + rm `pwd`/debian/grc/etc/profile.d/grc.sh build: build-arch build-indep build-arch: build-stamp diff --git a/grc.bashrc b/grc.sh similarity index 100% rename from grc.bashrc rename to grc.sh diff --git a/install.sh b/install.sh index f40f589..d28a258 100755 --- a/install.sh +++ b/install.sh @@ -24,7 +24,7 @@ cp -fv grc.conf $CONFDIR cp -fv grc.zsh $CONFDIR cp -fv grc.fish $CONFDIR mkdir -p $PROFILEDIR -cp -fv grc.bashrc $PROFILEDIR +cp -fv grc.sh $PROFILEDIR # probably we should not install it into site-functions in a debian package... if [ "$PREFIX" = "/usr/local" ]; then