Ссылка для скачивания
# If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac HISTCONTROL=ignoreboth HISTSIZE=1000 HISTFILESIZE=2000 shopt -s histappend shopt -s checkwinsize export TERM='xterm-256color' color_prompt=yes if [ "$(id -u)" -ne 0 ]; then #user export PS1="\[\e[01;37m\][\[\e[38;5;220m\]\u\[\e[38;5;231m\]@\[\e[38;5;27m\]\H\[\e[01;37m\]]\[\e[38;5;118m\]\w\[\e[38;5;220m\]➤\[\e[m\] " #или export PS1="\[\e]0;\u@\h: \w\a\]\[\033[;32m\]┌──${debian_chroot:+($debian_chroot)──}${VIRTUAL_ENV:+(\[\033[0;1m\]$(basename $VIRTUAL_ENV)\[\033[;32m\])}(\[\033[38;5;45m\]\u\[\033[1;32m\]㉿\e[38;5;45m\H\[\033[;32m\])-[\[\033[0;1m\]\w\[\033[;32m\]]\n\[\033[;32m\]└─\[\033[1;35m\]\$\[\033[0m\]" else #admin export PS1="${debian_chroot:+($debian_chroot)}\[\e[38;5;220m\][\[\e[38;5;196m\]\u\[\e[38;5;231m\]@\[\e[38;5;27m\]\H\[\e[38;5;220m\]]\[\e[38;5;118m\]\w\[\e[38;5;196m\]➤\[\e[00m\]" #или export PS1="\[\e]0;\u@\h: \w\a\]\[\033[;32m\]┌──${debian_chroot:+($debian_chroot)──}${VIRTUAL_ENV:+(\[\033[0;1m\]$(basename $VIRTUAL_ENV)\[\033[;31m\])}(\[\033[1;31m\]\u㉿\\H\[\033[;32m\])-[\[\033[0;1m\]\w\[\033[;32m\]]\n\[\033[;32m\]└─\[\033[1;35m\]\$\[\033[0m\]" fi if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion elif [ -f /etc/bash_completion ]; then . /etc/bash_completion fi fi last -5 -d -w echo -e "\n\e[1;32m $(curl -s ipinfo.io/ip) \e[1;33m $(curl -s ipinfo.io/hostname) \e[1;36m $(curl -s ipinfo.io/org)\e[1;35m $(curl -s ipinfo.io/country) \e[0m\n " #df -h / #cat /etc/os-release | grep PRETTY_NAME | cut -d "=" -f 2 neofetch