workspace/arch-user/config/bash/bashrc
2025-10-02 07:46:48 +00:00

22 lines
416 B
Bash

#!/bin/bash
[[ $- != *i* ]] && return
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
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\] '