Compare commits
1 Commits
44ae82b5d6
...
79351eb90b
Author | SHA1 | Date | |
---|---|---|---|
79351eb90b |
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user