fixed file explorer
This commit is contained in:
		
							parent
							
								
									d6a7664bdf
								
							
						
					
					
						commit
						cc5691a77c
					
				@ -15,7 +15,7 @@ if [ "$last_ps" == "tmux" ] ; then
 | 
			
		||||
    current_pane=$(tmux list-panes | grep '(active)' | grep -o '^[0-9]')
 | 
			
		||||
    cwd=$(tmux display-message -p -t $current_pane -F '#{pane_current_path}')
 | 
			
		||||
else
 | 
			
		||||
    cwd=$(readlink -e /proc/${children[-2]}/cwd)
 | 
			
		||||
    cwd=$(readlink -e /proc/${children[-1]}/cwd)
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# change to the directory
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
# go path
 | 
			
		||||
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
 | 
			
		||||
export PATH=$PATH:/usr/local/go/bin:$HOME/.local/share/go/bin
 | 
			
		||||
export PATH=$PATH:$HOME/.config/rofi/bin
 | 
			
		||||
 | 
			
		||||
# editor
 | 
			
		||||
 | 
			
		||||
@ -20,7 +20,6 @@ fi
 | 
			
		||||
 | 
			
		||||
# fixing gopath and binaries
 | 
			
		||||
export GOPATH="$HOME/.local/share/go"
 | 
			
		||||
export PATH=$GOPATH/bin:$PATH
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Path to your oh-my-zsh installation.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user