mirror of
				https://github.com/Mastermindzh/dotfiles.git
				synced 2025-10-31 16:58:47 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			486 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			486 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # if powerline-shell is available use it.
 | |
| function _update_ps1() {
 | |
|     if hash powerline-shell 2>/dev/null; then
 | |
|         PS1=$(powerline-shell $?)
 | |
|     fi
 | |
| }
 | |
| 
 | |
| # If not running interactively, don't do anything
 | |
| [[ $- != *i* ]] && return
 | |
| 
 | |
| source ~/.alias
 | |
| source ~/.custom
 | |
| source ~/.variables
 | |
| 
 | |
| #... :P fancy stuffs
 | |
| #screenfetch -t -A "UBUNTU"
 | |
| neofetch
 | |
| PS1='[\u@\h \W]\$ '
 | |
| 
 | |
| if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
 | |
|     PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
 | |
| fi
 |