Compare commits

..

1 Commits

Author SHA1 Message Date
79351eb90b temp! 2021-12-19 16:21:24 +00:00
2 changed files with 3 additions and 6 deletions

View File

@ -44,7 +44,7 @@ prompt_fresh_setup() {
fi
local userhost=$USER
if [ "$SSH_CONNECTION" != "" ] || [ "$DISTROBOX_ENTER_PATH" != "" ]; then
if [ "$SSH_CONNECTION" != "" ]; then
local user="$user@%{%F{244}%}%M%{%f%}"
local userhost="$userhost@`hostname`"
fi

View File

@ -69,11 +69,8 @@ if which bat &> /dev/null; then
# Both --theme and --color can be specified multiple times and will override
# these defaults.
bat() {
command bat --theme='TwoDark' --color always --paging auto "$@"
}
elif which batcat &> /dev/null; then
bat() {
command batcat --theme='TwoDark' --color always --paging auto "$@"
command bat --theme='TwoDark' --color always \
--paging always --pager 'less -R' "$@"
}
fi