update
This commit is contained in:
parent
0eec37352a
commit
5a0913a29a
2 changed files with 5 additions and 3 deletions
|
|
@ -167,7 +167,7 @@ add_launcher() {
|
|||
}
|
||||
|
||||
### ALIAS
|
||||
add_alias() { ### WORKS BUT NEEDS WORK --> CHECK SCRIPT PRESENCE FIRST
|
||||
add_alias() { ### WORKS BUT NEEDS WORK
|
||||
if ! [ -f "$SCRIPT_PATH/$SCRIPT_FILE_NAME" ] ; then
|
||||
mkdir -p $SCRIPT_PATH
|
||||
wget -P $TMP $SCRIPT_URL -q
|
||||
|
|
@ -184,7 +184,7 @@ add_alias() { ### WORKS BUT NEEDS WORK --> CHECK SCRIPT PRESENCE FIRST
|
|||
echo -e "\n ${LCY}$ALIAS ${GRN}added to${CRS} $HOME/.bashrc"
|
||||
|
||||
else
|
||||
echo -e "\n ${RED}No .bashrc like file found!${CRS}"
|
||||
echo -e "\n ${RED}No .shellrc file found!${CRS}"
|
||||
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue