windows aliases
This commit is contained in:
		
							parent
							
								
									fa82848a3e
								
							
						
					
					
						commit
						74f8c1a4f5
					
				
							
								
								
									
										3
									
								
								dotfiles-old/.bash_profile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								dotfiles-old/.bash_profile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
if [ -f ~/.bashrc ]; then
 | 
			
		||||
	./bashrc
 | 
			
		||||
fi
 | 
			
		||||
							
								
								
									
										12
									
								
								dotfiles-old/.bashrc
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										12
									
								
								dotfiles-old/.bashrc
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@ -1,3 +1,5 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
complete -c man which
 | 
			
		||||
PS1="> "
 | 
			
		||||
PS2=">> "
 | 
			
		||||
@ -19,11 +21,21 @@ alias ifswitch="iftoggle $1 down && iftoggle $1 up"
 | 
			
		||||
 | 
			
		||||
alias imount="idevicepair pair && sudo ifuse -o allow_other /mnt/iphone/"
 | 
			
		||||
 | 
			
		||||
# windows
 | 
			
		||||
alias ipconfig="ifconfig"
 | 
			
		||||
alias tracert="tracepath"
 | 
			
		||||
 | 
			
		||||
# i always forget this one but it's useful
 | 
			
		||||
alias p="ping 1.1.1.1"
 | 
			
		||||
 | 
			
		||||
# my media hard drive
 | 
			
		||||
alias partone="sudo mount -L 'PARTONE' /mnt/partone"
 | 
			
		||||
# sd card with music on it
 | 
			
		||||
alias audio="sudo mount -L 'AUDIO' /mnt/audio"
 | 
			
		||||
# other volumes
 | 
			
		||||
mnt() {
 | 
			
		||||
	sudo mount /dev/$1 /mnt/$1 && cd /mnt/$1
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# aliases for using a VGA monitor, i use these at home and at school
 | 
			
		||||
vgaoff() {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user