mirror of
				https://gitlab.com/ceda_ei/wish
				synced 2025-10-31 10:30:07 +01:00 
			
		
		
		
	Replace references to master with main
This commit is contained in:
		| @@ -18,7 +18,7 @@ A customizable, extensible, themable bash prompt. | |||||||
| ## One step Installation | ## One step Installation | ||||||
|  |  | ||||||
| ```sh | ```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 | ## Manual Installation | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ | |||||||
| ## One step Installation | ## One step Installation | ||||||
|  |  | ||||||
| ```sh | ```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 | ## Manual Installation | ||||||
|   | |||||||
| @@ -7,4 +7,7 @@ Themes need to define the following variables. | |||||||
|  |  | ||||||
| Plugins will fallback to these variables if they are not themed. | 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). | ||||||
|   | |||||||
| @@ -3,12 +3,8 @@ | |||||||
| if hash git; then | if hash git; then | ||||||
| 	git clone https://gitlab.com/ceda_ei/Wish.git $HOME/.config/wish | 	git clone https://gitlab.com/ceda_ei/Wish.git $HOME/.config/wish | ||||||
| else | else | ||||||
| 	curl https://gitlab.com/ceda_ei/wish/-/archive/master/wish-master.tar -o /tmp/wish.tar | 	echo 'Git not found. Please install git.' >&2 | ||||||
| 	mkdir $HOME/.config 2> /dev/null | 	exit 1 | ||||||
| 	cd /tmp/ |  | ||||||
| 	tar xf wish.tar |  | ||||||
| 	mv wish-master/ wish/ |  | ||||||
| 	mv wish/ $HOME/.config/ |  | ||||||
| fi | fi | ||||||
| cp $HOME/.config/wish/config.default.gie $HOME/.config/wish/config.gie | cp $HOME/.config/wish/config.default.gie $HOME/.config/wish/config.gie | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user