mirror of
				https://tildegit.org/ben/dotfiles.git
				synced 2025-08-10 05:02:03 +00:00 
			
		
		
		
	tidy up config.fish
This commit is contained in:
		
							parent
							
								
									a1491fa7ed
								
							
						
					
					
						commit
						2e18d76700
					
				@ -1,23 +1,14 @@
 | 
			
		||||
status --is-login; and status --is-interactive; and exec byobu-launcher
 | 
			
		||||
status --is-login && status --is-interactive && exec byobu-launcher
 | 
			
		||||
 | 
			
		||||
if type -q nvim > /dev/null
 | 
			
		||||
  set -xg EDITOR nvim
 | 
			
		||||
else 
 | 
			
		||||
set -xg EDITOR vim
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
set -xg TZ 'America/Detroit'
 | 
			
		||||
 | 
			
		||||
if test -d ~/Maildir
 | 
			
		||||
  set -x MAIL ~/Maildir
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
if test -d /usr/local/go
 | 
			
		||||
  set -x GOPATH (/usr/local/go/bin/go env GOPATH)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
for i in ~/bin /usr/local/go/bin ~/.yarn/bin $GOPATH/bin ~/.local/bin ~/.cargo/bin /snap/bin ~/.fzf/bin
 | 
			
		||||
  if test -d $i; and not contains $i $PATH
 | 
			
		||||
for i in ~/bin ~/.yarn/bin ~/.local/bin ~/.cargo/bin
 | 
			
		||||
  if test -d $i && not contains $i $PATH
 | 
			
		||||
    set -x fish_user_paths $fish_user_paths $i
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user