1 files changed,
5 insertions(+),
22 deletions(-)
Author:
Smirnov Oleksandr
50584123+Smirnov-O@users.noreply.github.com
Committed by:
GitHub
noreply@github.com
Committed at:
2020-03-19 17:24:18 +0200
Parent:
ba110c5
M
bashrc
ยทยทยท 1 -[ -z "$PS1" ] && return 2 -shopt -s checkwinsize 3 -if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then 4 - debian_chroot=$(cat /etc/debian_chroot) 5 -fi 6 -if ! [ -n "${SUDO_USER}" -a -n "${SUDO_PS1}" ]; then 7 - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 8 -fi 9 -if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found/command-not-found ]; then 10 - function command_not_found_handle { 11 - if [ -x /usr/lib/command-not-found ]; then 12 - /usr/lib/command-not-found -- "$1" 13 - return $? 14 - elif [ -x /usr/share/command-not-found/command-not-found ]; then 15 - /usr/share/command-not-found/command-not-found -- "$1" 16 - return $? 17 - else 18 - printf "%s: command not found\n" "$1" >&2 19 - return 127 20 - fi 21 - } 22 -fi 1 +export VISUAL="vim" 2 +[[ $- != *i* ]] && return 3 +alias ls='ls --color=auto' 4 +PS1='\u@\h \W \$ ' 5 +stty -ixon 23 6 24 7 alias cls='clear' 25 8 alias sl='ls'