Add XDG Base Directory vars, refactor env var names and defs
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
local omitted_dirs=(
 | 
			
		||||
    $HOME
 | 
			
		||||
    $HOME_BOX
 | 
			
		||||
    $DIR_HOME_BOX
 | 
			
		||||
    $DIR_DEV
 | 
			
		||||
    $DIR_DEV/git
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@ hydrate() {
 | 
			
		||||
local name_regex="^\([-_A-Za-z0-9]*\):.*$"
 | 
			
		||||
local existing_sessions=$([[ -n $(pgrep tmux) ]] && tmux list-sessions | sed "s/$name_regex/\1/" || echo '')
 | 
			
		||||
local search_dirs=(
 | 
			
		||||
    $HOME_BOX
 | 
			
		||||
    $DIR_HOME_BOX
 | 
			
		||||
    $DIR_DEV
 | 
			
		||||
    $DIR_DEV/git/*
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user