tweaked to remove some old junk, and add rust
This commit is contained in:
		
							parent
							
								
									5748a2178e
								
							
						
					
					
						commit
						569bedc92b
					
				
					 5 changed files with 15 additions and 12 deletions
				
			
		
							
								
								
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,2 +1,4 @@
 | 
			
		|||
.vscode
 | 
			
		||||
.directory
 | 
			
		||||
1-compiled
 | 
			
		||||
ubuntu1.sh
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										11
									
								
								aliases.sh
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								aliases.sh
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -27,23 +27,12 @@ alias fdiff="sdiff -t --tabsize=4 -w \$(tput cols) -b"
 | 
			
		|||
alias rsync-prog="rsync -Pav"
 | 
			
		||||
alias parallel="parallel --no-notice"
 | 
			
		||||
 | 
			
		||||
export IDF_TOOLS_PATH=/opt/esp
 | 
			
		||||
alias get_idf=". ${IDF_TOOLS_PATH}/esp-idf/export.sh"
 | 
			
		||||
 | 
			
		||||
if [[ -e /opt/eagle/eagle/eagle ]]; then
 | 
			
		||||
	alias eagle=$(readlink -f /opt/eagle/eagle/eagle)
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Stopwatch
 | 
			
		||||
alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date'
 | 
			
		||||
 | 
			
		||||
# IP addresses
 | 
			
		||||
alias pubip="dig +short myip.opendns.com @resolver1.opendns.com"
 | 
			
		||||
 | 
			
		||||
if [[ ! "$(which dropbox)" && "$(which caja-dropbox)" ]]; then
 | 
			
		||||
	alias dropbox=caja-dropbox
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [[ "$(which ncdu)" ]]; then
 | 
			
		||||
	alias dush="ncdu --color dark -rr"
 | 
			
		||||
else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -67,7 +67,7 @@ __LOAD_DIRS=(
 | 
			
		|||
	/opt/makemkv
 | 
			
		||||
	/opt/icestorm
 | 
			
		||||
	/opt/gemini
 | 
			
		||||
	$HOME/.gem/ruby/2.7.0
 | 
			
		||||
	$HOME/.local/share/gem/ruby/3.0.0
 | 
			
		||||
)
 | 
			
		||||
for DIR_EXPAND in ${__LOAD_DIRS[@]}; do
 | 
			
		||||
	loadDirectory $DIR_EXPAND
 | 
			
		||||
| 
						 | 
				
			
			@ -89,3 +89,15 @@ if [ -d "$HOME/.local" ] ; then
 | 
			
		|||
		export XDG_DATA_HOME="$HOME/.local/share"
 | 
			
		||||
	fi
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
unset pathStripAdd pathStrip loadDirectory
 | 
			
		||||
 | 
			
		||||
###########
 | 
			
		||||
# If rust is a thing, load it
 | 
			
		||||
if [[ -d "$HOME/.cargo" ]]; then
 | 
			
		||||
	[[ -x "$HOME/.cargo/env" ]] && (
 | 
			
		||||
		echo "sourcing..."
 | 
			
		||||
		source "$HOME/.cargo/env"
 | 
			
		||||
		echo "sourced..."
 | 
			
		||||
	)
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue