mirror of
				https://github.com/tmux-plugins/tpm.git
				synced 2025-11-04 00:16:05 +00:00 
			
		
		
		
	Restore tabs instead of spaces for indentation.
This commit is contained in:
		@@ -19,25 +19,25 @@ _CACHED_TPM_PATH="$(_tpm_path)"
 | 
				
			|||||||
# This includes a prioritized search on different locations.
 | 
					# This includes a prioritized search on different locations.
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
_get_user_tmux_conf() {
 | 
					_get_user_tmux_conf() {
 | 
				
			||||||
  # Define the different possible locations.
 | 
						# Define the different possible locations.
 | 
				
			||||||
  custom_location="$TMUX_PLUGIN_MANAGER_CONFIG_LOCATION"
 | 
						custom_location="$TMUX_PLUGIN_MANAGER_CONFIG_LOCATION"
 | 
				
			||||||
  xdg_location="$XDG_CONFIG_HOME/tmux/tmux.conf"
 | 
						xdg_location="$XDG_CONFIG_HOME/tmux/tmux.conf"
 | 
				
			||||||
  default_location="$HOME/.tmux.conf"
 | 
						default_location="$HOME/.tmux.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Search for the correct configuration file by priority.
 | 
						# Search for the correct configuration file by priority.
 | 
				
			||||||
  if [ -n "$custom_location" ]; then
 | 
						if [ -n "$custom_location" ]; then
 | 
				
			||||||
    echo "$custom_location"
 | 
							echo "$custom_location"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  elif [ -f "$xdg_location" ]; then
 | 
						elif [ -f "$xdg_location" ]; then
 | 
				
			||||||
    echo "$xdg_location"
 | 
							echo "$xdg_location"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  else
 | 
						else
 | 
				
			||||||
    echo "$default_location"
 | 
							echo "$default_location"
 | 
				
			||||||
  fi
 | 
						fi
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_tmux_conf_contents() {
 | 
					_tmux_conf_contents() {
 | 
				
			||||||
  user_config=$(_get_user_tmux_conf)
 | 
						user_config=$(_get_user_tmux_conf)
 | 
				
			||||||
	cat /etc/tmux.conf "$user_config" 2>/dev/null
 | 
						cat /etc/tmux.conf "$user_config" 2>/dev/null
 | 
				
			||||||
	if [ "$1" == "full" ]; then # also output content from sourced files
 | 
						if [ "$1" == "full" ]; then # also output content from sourced files
 | 
				
			||||||
		local file
 | 
							local file
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user