Alias configuration for FISH added
This commit is contained in:
parent
35ddd28a3b
commit
805a80ff89
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ add_alias() {
|
||||||
echo -e "\n ${LCY}$ALIAS ${GRN}added to${CRS} $HOME/.bashrc\n"
|
echo -e "\n ${LCY}$ALIAS ${GRN}added to${CRS} $HOME/.bashrc\n"
|
||||||
|
|
||||||
elif [ "$ACTIVE_SHELL" == "fish" ] ; then
|
elif [ "$ACTIVE_SHELL" == "fish" ] ; then
|
||||||
if [ "$(cat $HOME/.config/fish/fish.config | grep "source $ALIAS")" ] ; then
|
if [ "$(cat $HOME/.config/fish/fish.config | grep "source $HOME/.config/fish/$ALIAS.config")" ] ; then
|
||||||
echo -e "\n ${LCY}$ALIAS ${GRN}already present in${CRS} $HOME/.config/fish/fish.config\n"
|
echo -e "\n ${LCY}$ALIAS ${GRN}already present in${CRS} $HOME/.config/fish/fish.config\n"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue