Replace references to master with main

This commit is contained in:
Ceda EI 2023-12-07 19:09:04 +05:30
parent a17a04075a
commit 08530330c1
4 changed files with 8 additions and 9 deletions

View File

@ -18,7 +18,7 @@ A customizable, extensible, themable bash prompt.
## One step Installation
```sh
curl https://gitlab.com/ceda_ei/wish/raw/master/install.sh | bash
curl https://gitlab.com/ceda_ei/wish/raw/main/install.sh | bash
```
## Manual Installation

View File

@ -3,7 +3,7 @@
## One step Installation
```sh
curl https://gitlab.com/ceda_ei/wish/raw/master/install.sh | bash
curl https://gitlab.com/ceda_ei/wish/raw/main/install.sh | bash
```
## Manual Installation

View File

@ -7,4 +7,7 @@ Themes need to define the following variables.
Plugins will fallback to these variables if they are not themed.
Themes also need to define variables for plugins. For each plugin named `abc`, the theme needs to define `WISH_ABC_BG` and `WISH_ABC_FG`. Themes can optionally iterate over `WISH_PLUGINS` array to ensure to theme all elements. Check existing [themes](https://gitlab.com/ceda_ei/wish/tree/master/themes).
Themes also need to define variables for plugins. For each plugin named `abc`,
the theme needs to define `WISH_ABC_BG` and `WISH_ABC_FG`. Themes can
optionally iterate over `WISH_PLUGINS` array to ensure to theme all elements.
Check existing [themes](https://gitlab.com/ceda_ei/wish/tree/main/themes).

View File

@ -3,12 +3,8 @@
if hash git; then
git clone https://gitlab.com/ceda_ei/Wish.git $HOME/.config/wish
else
curl https://gitlab.com/ceda_ei/wish/-/archive/master/wish-master.tar -o /tmp/wish.tar
mkdir $HOME/.config 2> /dev/null
cd /tmp/
tar xf wish.tar
mv wish-master/ wish/
mv wish/ $HOME/.config/
echo 'Git not found. Please install git.' >&2
exit 1
fi
cp $HOME/.config/wish/config.default.gie $HOME/.config/wish/config.gie