27 lines
		
	
	
		
			489 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			489 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| [[ $- != *i* ]] && return
 | |
| 
 | |
| shopt -s autocd
 | |
| 
 | |
| stty intr ^K
 | |
| 
 | |
| alias ssh='wssh'
 | |
| alias sudo='wsudo'
 | |
| 
 | |
| alias ls='ls --color=auto'
 | |
| alias grep='grep --color=auto'
 | |
| alias node='NODE_NO_READLINE=1 rlwrap node'
 | |
| 
 | |
| export EDITOR=vim
 | |
| 
 | |
| export FZF_COMPLETION_TRIGGER='*'
 | |
| eval "$(fzf --bash)"
 | |
| 
 | |
| PS0+='\e]133;C\e\\'
 | |
| command_done() {
 | |
|     printf '\e]133;D\e\\'
 | |
| }
 | |
| PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }command_done
 | |
| PS1='\[\033[1;95m\]\u@\h:\W\$\[\033[0m\]\[\033[1;91m\]${?#0}\[\033[0m\] '
 |