Compare commits

..

2 Commits

2 changed files with 7 additions and 4 deletions

7
bashrc
View File

@ -1,4 +1,3 @@
#!/bin/bash
# ~/.bashrc
# byMasterKTO
@ -58,7 +57,7 @@ fi
if [[ $system == "Linux" ]]; then
case $(lsb_release -si) in
# Arch family: light blue
Arch | ManjaroLinux) COLOR=$C_BOLD$C_ARCH;;
Arch | ManjaroLinux | Manjaro-ARM) COLOR=$C_BOLD$C_ARCH;;
# Debian family: orange
Debian | Ubuntu | Linuxmint | Neon | Raspbian) COLOR=$C_BOLD$C_DEB;;
# RedHat family: blue
@ -90,8 +89,8 @@ if [[ $system == "Linux" ]]; then
fi
# hostname
# if hostname has 4 parts then host=.secondpart
if [[ $(hostname | grep -o "\." | wc -l) -eq 3 ]]; then
# if hostname has 5 parts then host=.secondpart
if [[ $(hostname | grep -o "\." | wc -l) -eq 4 ]]; then
host='.'$(hostname | cut -f 2 -d '.')
fi
hn="$COLOR\h$host$virt$C_RESET"

4
vimrc
View File

@ -43,6 +43,10 @@ else
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
endif
" TEST: disable all mouse interactions
set mouse=
set ttymouse=
" Specific configurations
augroup configgroup