add check for lazygit and set alias if exists
This commit is contained in:
parent
65728b2680
commit
998b8bcb3b
1 changed files with 7 additions and 0 deletions
|
|
@ -210,3 +210,10 @@ command -v notify-send > /dev/null 2>&1
|
|||
if [ $? -ne 0 ]; then
|
||||
echo -e "$WARNING notify-send is not installed. Will affect the alias: \033[34;49;1malert\033[0m"
|
||||
fi
|
||||
|
||||
command -v lazygit > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "$WARNING lazygit is not installed"
|
||||
else
|
||||
alias lg="lazygit"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue