mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 22:54:59 +08:00
ccat fix
This commit is contained in:
parent
0e5c935855
commit
ce07f277e1
2 changed files with 4 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ set -g set-titles on
|
|||
set -g display-panes-time 2000
|
||||
set -g display-time 2000
|
||||
|
||||
set -g status-interval 10
|
||||
set -g status-interval 1
|
||||
|
||||
# -- navigation
|
||||
|
||||
|
|
@ -207,6 +207,8 @@ setw -g window-status-activity-style bg=black
|
|||
setw -g window-status-bell-style bg=black
|
||||
|
||||
run-shell ~/.config/tmux/extrakto/extrakto.tmux
|
||||
#set-option -g status-utf8 on
|
||||
#set -g status-left '#(rainbarf --battery --remaining --bolt --rgb)'
|
||||
|
||||
|
||||
# EOF
|
||||
|
|
|
|||
|
|
@ -217,7 +217,7 @@ handle_mime() {
|
|||
case "${mimetype}" in
|
||||
# Text
|
||||
text/* | */xml)
|
||||
if command -v ccat 2>/dev/null; then
|
||||
if command -v ccat &>/dev/null; then
|
||||
ccat --color=always ${FILE_PATH}
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue