#!/bin/bash [[ $- != *i* ]] && return shopt -s autocd stty intr ^N alias ssh='wssh' alias sudo='wsudo' alias ls='ls --color=auto' alias grep='grep --color=auto' alias node='NODE_NO_READLINE=1 rlwrap node' alias d='~/dev' alias k='~/know' alias t='~/tmp' alias l='~/lfs' export EDITOR=vim export PAGER=less export FZF_COMPLETION_TRIGGER='*' eval "$(fzf --bash)" export GPG_TTY=$(tty) gpg-connect-agent updatestartuptty /bye >/dev/null 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\] '