Added gfg to script not in the zshrc
This commit is contained in:
		
							
								
								
									
										3
									
								
								.local/bin/gfg
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								.local/bin/gfg
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					BRANCH_GIT=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')
 | 
				
			||||||
 | 
					git checkout "$BRANCH_GIT" && git fetch upstream && git pull upstream "$BRANCH_GIT"
 | 
				
			||||||
							
								
								
									
										1
									
								
								.zshrc
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								.zshrc
									
									
									
									
									
								
							@@ -89,7 +89,6 @@ alias gst="git status -s"
 | 
				
			|||||||
alias gdiff="git diff"
 | 
					alias gdiff="git diff"
 | 
				
			||||||
alias gnew="git checkout -b"
 | 
					alias gnew="git checkout -b"
 | 
				
			||||||
alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches"
 | 
					alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches"
 | 
				
			||||||
alias gfg="(git checkout master; git checkout main) && git fetch upstream && git pull upstream master"
 | 
					 | 
				
			||||||
alias cal="cal -3"
 | 
					alias cal="cal -3"
 | 
				
			||||||
alias code="vscodium-bin"
 | 
					alias code="vscodium-bin"
 | 
				
			||||||
alias vpn="sudo /root/.local/bin/protonvpn c -f"
 | 
					alias vpn="sudo /root/.local/bin/protonvpn c -f"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user